public abstract class ChatOverlay extends Object implements ChatDisplay
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChatOverlay.InfoProvider
An interface for providing information about what is under the overlay.
|
| Modifier and Type | Method and Description |
|---|---|
void |
added(VirtualMediaPanel target)
Indicates that the target component was added to the widget hier.
|
VirtualMediaPanel |
getTarget()
Returns the media panel on which this chat overlay is operating.
|
abstract void |
layout()
Layout the chat overlay inside the previously configured target component.
|
void |
newPlaceEntered(ChatOverlay.InfoProvider provider)
Callback from the target that the place has changed and we are to now talk to the new info
provider.
|
void |
placeExited()
A callback indicating that we've left the place and should stop talking to a particular
infoprovider.
|
void |
removed()
Indicates that the target component was removed from the widget hier.
|
void |
setDimmed(boolean dimmed)
Set the dimmed mode of the currently displaying glyphs.
|
void |
setVisible(boolean visible)
Causes the chat overlay to make itself visible or invisible.
|
void |
speakerDeparted(Name speaker)
Should be called when a speaker departs the chat area to allow the overlay to clean up.
|
void |
viewDidScroll(int dx,
int dy)
Called if our containing media panel scrolled its view.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, displayMessagepublic void setVisible(boolean visible)
public void setDimmed(boolean dimmed)
public void added(VirtualMediaPanel target)
public abstract void layout()
public void removed()
public void newPlaceEntered(ChatOverlay.InfoProvider provider)
public void placeExited()
public VirtualMediaPanel getTarget()
public void speakerDeparted(Name speaker)
public void viewDidScroll(int dx,
int dy)
Copyright © 2015. All rights reserved.