net.sf.jzeno.echo.components
Class PopWrapper
java.lang.Object
nextapp.echo.AbstractComponent
net.sf.jzeno.echo.components.PopWrapper
- All Implemented Interfaces:
- java.io.Serializable, Precreation, Component, FastComponent
public class PopWrapper
- extends AbstractComponent
- implements FastComponent, Precreation
This wrapper component allows you to add drop capabilities to any (collection
of) child component(s). It is used in conjuction with DragWrapper
.
When a draggable item is released on this component, a server-side event will
be triggered. You may set the eventhandler (as allways) by specifying the
actionCommand property. This method is the called, and the argument passed in
will be the DropWrapper that was the target of the drag-drop operation.
Information about the drag-drop operation can be retrieved via multiple
properties on that DropWrapper.
- See Also:
- Serialized Form
Fields inherited from interface nextapp.echo.Component |
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, SELECTABLE_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY |
Methods inherited from class nextapp.echo.AbstractComponent |
add, add, addHierarchyListener, addPropertyChangeListener, applyStyle, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getClientId, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getListenerList, getLocale, getParent, indexOf, init, isAncestorOf, isDifferent, isEnabled, isFocused, isRecursivelyVisible, isRegistered, isSelectableForScriptRecorder, isShowing, isVisible, processHierarchyEvent, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setClientId, setEnabled, setFocused, setFont, setForeground, setIdentifier, setLocale, setParent, setRegistered, setSelectableForScriptRecorder, setVisible, update, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODE_BELOW
public static int MODE_BELOW
MODE_CENTERED
public static int MODE_CENTERED
MODE_ABSOLUTE
public static int MODE_ABSOLUTE
PopWrapper
public PopWrapper()
applyContext
public void applyContext()
- Specified by:
applyContext
in interface Precreation
getMode
public int getMode()
setMode
public void setMode(int mode)
getReferenceComponent
public Component getReferenceComponent()
setReferenceComponent
public void setReferenceComponent(Component referenceComponent)
getX
public int getX()
setX
public void setX(int x)
getY
public int getY()
setY
public void setY(int y)