public class DroppableControl extends AbstractController implements Droppable
| Constructor and Description |
|---|
DroppableControl() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(DroppableControl source,
DraggableControl draggable) |
void |
addFilter(DroppableDropFilter filter)
Add the given filter to this Droppable.
|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes) |
protected void |
drop(DraggableControl droppedDraggable,
EndNotify endNotify) |
DraggableControl |
getDraggable() |
boolean |
inputEvent(NiftyInputEvent inputEvent) |
void |
onStartScreen() |
void |
removeAllFilters()
Remove all Filters.
|
void |
removeFilter(DroppableDropFilter filter)
Remove the given filter.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind in interface Controllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerprotected void drop(DraggableControl droppedDraggable, EndNotify endNotify)
public DraggableControl getDraggable()
public void addFilter(DroppableDropFilter filter)
Droppablepublic void removeFilter(DroppableDropFilter filter)
DroppableremoveFilter in interface Droppablefilter - the filter to be removedpublic void removeAllFilters()
DroppableremoveAllFilters in interface Droppableprotected boolean accept(DroppableControl source, DraggableControl draggable)
Copyright © 2013. All Rights Reserved.