de.lessvoid.nifty.controls
Interface Droppable

All Superinterfaces:
NiftyControl
All Known Implementing Classes:
DroppableControl

public interface Droppable
extends NiftyControl

The Droppable NiftyControl interface.

Author:
void

Method Summary
 void addFilter(DroppableDropFilter droppableDropFilter)
          Add the given filter to this Droppable.
 void removeAllFilters()
          Remove all Filters.
 void removeFilter(DroppableDropFilter filter)
          Remove the given filter.
 
Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
 

Method Detail

addFilter

void addFilter(DroppableDropFilter droppableDropFilter)
Add the given filter to this Droppable. A DroppableDropFilter will be asked if a certain Draggable is able to be dropped on this Droppable.

Parameters:
droppableDropFilter - the filter

removeFilter

void removeFilter(DroppableDropFilter filter)
Remove the given filter.

Parameters:
filter - the filter to be removed

removeAllFilters

void removeAllFilters()
Remove all Filters.



Copyright © 2011. All Rights Reserved.