public abstract class Widget extends Attachable
| Modifier | Constructor and Description |
|---|---|
|
Widget() |
|
Widget(Actions actionType) |
protected |
Widget(int id,
org.eclipse.jetty.websocket.WebSocket.Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTo(User owner) |
protected void |
attach(Attachable widget)
If the widget is container it must invoke this metkod for all widgets it stores
|
abstract java.lang.String |
getData() |
int |
getID() |
abstract java.lang.String |
getName() |
protected void |
handleData(java.lang.String data) |
protected void |
sendElement() |
protected Widget(int id,
org.eclipse.jetty.websocket.WebSocket.Connection connection)
public Widget(Actions actionType)
public Widget()
public abstract java.lang.String getName()
public abstract java.lang.String getData()
public final int getID()
protected final void sendElement()
protected final void addTo(User owner) throws java.lang.IllegalStateException
addTo in class Attachablejava.lang.IllegalStateExceptionprotected final void attach(Attachable widget)
widget - Widget that is stored in this widgetprotected void handleData(java.lang.String data)
throws java.lang.Exception
java.lang.Exception