|
||||||||||
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 ScreenController
public void onStartScreen()
onStartScreen
in interface ScreenController
public void onEndScreen()
onEndScreen
in interface ScreenController
public final void quit()
public void spawnDraggable()
public void spawnWindow()
public void showDragStartStatus(String id, DraggableDragStartedEvent event)
event
- the DraggableDragStartedEventpublic void showDragCancelStatus(String id, DraggableDragCanceledEvent event)
event
- the DraggableDragCanceledEventpublic void showDropStatus(String id, DroppableDroppedEvent event)
event
- the DropableDroppedEventpublic 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 |