|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lessvoid.nifty.examples.dragndrop.DragDropScreen
public class DragDropScreen
| Constructor Summary | |
|---|---|
DragDropScreen()
|
|
| Method Summary | |
|---|---|
void |
bind(Nifty nifty,
Screen screen)
|
void |
onEndScreen()
|
void |
onStartScreen()
|
void |
onTrashDrop(String id,
DroppableDroppedEvent event)
Called when something is dropped on the Trash. |
void |
quit()
quit method called from the dragndrop.xml. |
void |
showDragCancelStatus(String id,
DraggableDragCanceledEvent event)
Called for all Draggables when the Drag operation stops. |
void |
showDragStartStatus(String id,
DraggableDragStartedEvent event)
Called for all Draggables when the Drag operation starts. |
void |
showDropStatus(String id,
DroppableDroppedEvent event)
Called for all Dropables when something is dropped on them. |
void |
spawnDraggable()
|
void |
spawnWindow()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DragDropScreen()
| Method Detail |
|---|
public void bind(Nifty nifty,
Screen screen)
bind in interface ScreenControllerpublic void onStartScreen()
onStartScreen in interface ScreenControllerpublic void onEndScreen()
onEndScreen in interface ScreenControllerpublic final void quit()
public void spawnDraggable()
public void spawnWindow()
public void showDragStartStatus(String id,
DraggableDragStartedEvent event)
event - the DraggableDragStartedEvent
public void showDragCancelStatus(String id,
DraggableDragCanceledEvent event)
event - the DraggableDragCanceledEvent
public void showDropStatus(String id,
DroppableDroppedEvent event)
event - the DropableDroppedEvent
public void onTrashDrop(String id,
DroppableDroppedEvent event)
event - the DropableDroppedEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||