net.sf.jzeno.echo.databinding
Class DynaQuickSelectFieldDialog

java.lang.Object
  extended by nextapp.echo.AbstractComponent
      extended by nextapp.echo.Panel
          extended by echopoint.Panel
              extended by echopoint.ScrollablePanel
                  extended by echopoint.DialogPanel
                      extended by net.sf.jzeno.echo.components.Dialog
                          extended by net.sf.jzeno.echo.databinding.DynaQuickSelectFieldDialog
All Implemented Interfaces:
LayoutManageable, Borderable, Clippable, MouseCursorable, Positionable, Scrollable, ScrollableContainer, ReflectionSetter, java.io.Serializable, java.util.EventListener, BindingTarget, PropertyComponent, EventSink, EventSource, Component, ActionListener, FastComponent

public class DynaQuickSelectFieldDialog
extends Dialog

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface echopoint.positionable.ScrollableContainer
ScrollableContainer.NestedStyleInfo
 
Nested classes/interfaces inherited from interface echopoint.positionable.MouseCursorable
MouseCursorable.NestedStyleInfo
 
Field Summary
 
Fields inherited from class echopoint.DialogPanel
ACTION_CLOSE, defaultBackground, defaultTitleBarBackground, defaultTitleBarFont, defaultTitleBarForeground, DITHERING_CHANGED_PROPERTY, DRAG_WINDOW_USED_CHANGED_PROPERTY, TITLEBAR_CHANGED_PROPERTY, ZINDEX_RANGE
 
Fields inherited from class echopoint.ScrollablePanel
DEFAULT_POSITONABLE_POLICY, DEFAULT_SCROLLBAR_POLICY
 
Fields inherited from class nextapp.echo.Panel
DEFAULT_INSETS, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, INSETS_CHANGED_PROPERTY, STYLE_HORIZONTAL_ALIGNMENT, STYLE_INSETS, STYLE_VERTICAL_ALIGNMENT, VERTICAL_ALIGNMENT_CHANGED_PROPERTY
 
Fields inherited from interface echopoint.positionable.ScrollableContainer
HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, INSETS_CHANGED_PROPERTY, STYLE_HORIZONTAL_ALIGNMENT, STYLE_INSETS, STYLE_VERTICAL_ALIGNMENT, VERTICAL_ALIGNMENT_CHANGED_PROPERTY
 
Fields inherited from interface echopoint.positionable.Scrollable
HEIGHT_CHANGED_PROPERTY, SCROLL_BAR_X_CHANGED_PROPERTY, SCROLL_BAR_Y_CHANGED_PROPERTY, SCROLLBAR_POLICY_CHANGED_PROPERTY, SCROLLBARS_ALWAYS, SCROLLBARS_AUTO, SCROLLBARS_CLIPHIDE, SCROLLBARS_NEVER, STYLE_HEIGHT, STYLE_SCROLL_BAR_POLICY, STYLE_WIDTH, UNDEFINED, undefinedSymbolic, WIDTH_CHANGED_PROPERTY
 
Fields inherited from interface echopoint.positionable.Positionable
POSITION_CHANGED_PROPERTY, POSITIONING_ABSOLUTE, POSITIONING_FLOW, POSITIONING_RELATIVE, positioningSymbolics, STYLE_BOTTOM, STYLE_LEFT, STYLE_POSITIONING, STYLE_RIGHT, STYLE_TOP, STYLE_ZINDEX, UNDEFINED, undefinedSymbolic
 
Fields inherited from interface echopoint.positionable.Clippable
CLIP_RECT_CHANGED_PROPERTY, STYLE_CLIP_RECT
 
Fields inherited from interface echopoint.positionable.Borderable
BORDER_DASHED, BORDER_DOTTED, BORDER_DOUBLE, BORDER_GROOVE, BORDER_INSET, BORDER_NONE, BORDER_OUTSET, BORDER_RIDGE, BORDER_SOLID, borderStyleSymbolics, STYLE_BORDER_COLOR, STYLE_BORDER_SIZE, STYLE_BORDER_STYLE, STYLE_BOTTOM_BORDER_COLOR, STYLE_BOTTOM_BORDER_SIZE, STYLE_BOTTOM_BORDER_STYLE, STYLE_LEFT_BORDER_COLOR, STYLE_LEFT_BORDER_SIZE, STYLE_LEFT_BORDER_STYLE, STYLE_RIGHT_BORDER_COLOR, STYLE_RIGHT_BORDER_SIZE, STYLE_RIGHT_BORDER_STYLE, STYLE_TOP_BORDER_COLOR, STYLE_TOP_BORDER_SIZE, STYLE_TOP_BORDER_STYLE
 
Fields inherited from interface echopoint.layout.LayoutManageable
LAYOUT_MANAGED_CHANGED_PROPERTY
 
Fields inherited from interface echopoint.positionable.MouseCursorable
borderStyleSymbolics, CURSOR_AUTO, CURSOR_CROSSHAIR, CURSOR_CUSTOM_URI, CURSOR_DEFAULT, CURSOR_E_RESIZE, CURSOR_HELP, CURSOR_MOVE, CURSOR_N_RESIZE, CURSOR_NE_RESIZE, CURSOR_NW_RESIZE, CURSOR_POINTER, CURSOR_S_RESIZE, CURSOR_SE_RESIZE, CURSOR_SW_RESIZE, CURSOR_TEXT, CURSOR_W_RESIZE, CURSOR_WAIT, STYLE_MOUSE_CURSOR, STYLE_MOUSE_CURSOR_URI
 
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
 
Constructor Summary
DynaQuickSelectFieldDialog()
           
DynaQuickSelectFieldDialog(java.lang.Class beanClass, java.lang.String property, java.lang.String constructionHints)
           
 
Method Summary
 void cancel()
           
 void close()
          Closes the dialog.
 java.util.Comparator getComparator()
           
 Decorator getDecorator()
           Gets the decorator, if any is configured.
 int getDialogWidth()
           
 java.lang.String getLabelProperty()
           
 java.util.List getList()
           
 java.lang.String getNullLabel()
           
 java.lang.String getSearch()
           
 java.lang.Object getSelectedObject()
           
 void searchEntry()
           
 void setComparator(java.util.Comparator comparator)
           
 void setDecorator(Decorator decorator)
           Sets the decorator.
 void setDialogWidth(int i)
           
 void setLabelProperty(java.lang.String labelProperty)
           
 void setList(java.util.List options)
           
 void setNullLabel(java.lang.String nullLabel)
           
 void setSearch(java.lang.String search)
           
 void setSelectedObject(java.lang.Object selectedObject)
           
 void show(java.lang.String currentText)
           
 
Methods inherited from class net.sf.jzeno.echo.components.Dialog
add, add, add, add, add, add, addCentered, addCentered, addLeft, addLeft, addRight, addRight, addValidator, applyStyle, fireActionEvent, fireActionEvent, fireActionEvent, getActionCommand, getBean, getBeanClass, getNullObject, getProperty, getTitle, getValidationErrors, getValidators, getValue, isAllowLineWrap, isMarkedInvalid, isReadOnly, isRequired, isValid, markInvalid, markValid, preRender, rebind, removeValidator, setActionCommand, setAllowLineWrap, setBean, setBeanClass, setNullObject, setProperty, setReadOnly, setRequired, setTitle, setValue, setVisible
 
Methods inherited from class echopoint.DialogPanel
actionPerformed, addDialogListener, getTitleBar, getzIndex, isBackgroundDithered, isDragWindowUsed, removeDialogListener, set, setBackgroundDithered, setDragWindowUsed, setTitleBar, setzIndex
 
Methods inherited from class echopoint.ScrollablePanel
clearPositioning, getBottom, getClipRect, getHeight, getLeft, getPositioning, getRight, getScreenHeight, getScreenWidth, getScrollBarPolicy, getScrollBarX, getScrollBarY, getTop, getWidth, isPositioned, setBottom, setClipRect, setClipRect, setClipRect, setHeight, setLeft, setPositioning, setRight, setScrollBarPolicy, setScrollBarX, setScrollBarY, setTop, setWidth
 
Methods inherited from class echopoint.Panel
addImpl, getBorderColor, getBorderSize, getBorderStyle, getBottomBorderColor, getBottomBorderSize, getBottomBorderStyle, getLayoutManager, getLeftBorderColor, getLeftBorderSize, getLeftBorderStyle, getMouseCursor, getMouseCursorURI, getRightBorderColor, getRightBorderSize, getRightBorderStyle, getTopBorderColor, getTopBorderSize, getTopBorderStyle, remove, remove, setBorderColor, setBorderSize, setBorderStyle, setBottomBorderColor, setBottomBorderSize, setBottomBorderStyle, setLayoutManager, setLeftBorderColor, setLeftBorderSize, setLeftBorderStyle, setMouseCursor, setMouseCursorURI, setRightBorderColor, setRightBorderSize, setRightBorderStyle, setTopBorderColor, setTopBorderSize, setTopBorderStyle
 
Methods inherited from class nextapp.echo.Panel
getHorizontalAlignment, getInsets, getVerticalAlignment, setHorizontalAlignment, setInsets, setVerticalAlignment
 
Methods inherited from class nextapp.echo.AbstractComponent
addHierarchyListener, addPropertyChangeListener, 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, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setClientId, setEnabled, setFocused, setFont, setForeground, setIdentifier, setLocale, setParent, setRegistered, setSelectableForScriptRecorder, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface echopoint.positionable.ScrollableContainer
getHorizontalAlignment, getInsets, getVerticalAlignment, setHorizontalAlignment, setInsets, setVerticalAlignment
 
Methods inherited from interface echopoint.positionable.Borderable
getBorderColor, getBorderSize, getBorderStyle, getBottomBorderColor, getBottomBorderSize, getBottomBorderStyle, getLeftBorderColor, getLeftBorderSize, getLeftBorderStyle, getRightBorderColor, getRightBorderSize, getRightBorderStyle, getTopBorderColor, getTopBorderSize, getTopBorderStyle, setBorderColor, setBorderSize, setBorderStyle, setBottomBorderColor, setBottomBorderSize, setBottomBorderStyle, setLeftBorderColor, setLeftBorderSize, setLeftBorderStyle, setRightBorderColor, setRightBorderSize, setRightBorderStyle, setTopBorderColor, setTopBorderSize, setTopBorderStyle
 
Methods inherited from interface echopoint.layout.LayoutManageable
getLayoutManager, remove, remove, setLayoutManager
 

Constructor Detail

DynaQuickSelectFieldDialog

public DynaQuickSelectFieldDialog()

DynaQuickSelectFieldDialog

public DynaQuickSelectFieldDialog(java.lang.Class beanClass,
                                  java.lang.String property,
                                  java.lang.String constructionHints)
Method Detail

show

public void show(java.lang.String currentText)

setList

public void setList(java.util.List options)

getList

public java.util.List getList()

close

public void close()
Description copied from class: DialogPanel
Closes the dialog.

This helper method removes the dialog from its parent, if it has one, and hence the dialog will not longer appear.

Overrides:
close in class Dialog

cancel

public void cancel()

getSelectedObject

public java.lang.Object getSelectedObject()

setSelectedObject

public void setSelectedObject(java.lang.Object selectedObject)

setLabelProperty

public void setLabelProperty(java.lang.String labelProperty)

getLabelProperty

public java.lang.String getLabelProperty()

setNullLabel

public void setNullLabel(java.lang.String nullLabel)

getNullLabel

public java.lang.String getNullLabel()

setDecorator

public void setDecorator(Decorator decorator)
Description copied from interface: PropertyComponent

Sets the decorator.

Specified by:
setDecorator in interface PropertyComponent
Overrides:
setDecorator in class Dialog

getDecorator

public Decorator getDecorator()
Description copied from interface: PropertyComponent

Gets the decorator, if any is configured.

Specified by:
getDecorator in interface PropertyComponent
Overrides:
getDecorator in class Dialog

getSearch

public java.lang.String getSearch()

setSearch

public void setSearch(java.lang.String search)

searchEntry

public void searchEntry()

setComparator

public void setComparator(java.util.Comparator comparator)

getComparator

public java.util.Comparator getComparator()

setDialogWidth

public void setDialogWidth(int i)

getDialogWidth

public int getDialogWidth()