net.sf.jzeno.echo.screen.demopanel
Class AbstractListBoxDemoPanel

java.lang.Object
  extended by nextapp.echo.AbstractComponent
      extended by net.sf.jzeno.echo.components.CustomComponent
          extended by net.sf.jzeno.echo.screen.demopanel.AbstractListBoxDemoPanel
All Implemented Interfaces:
java.io.Serializable, BindingTarget, PropertyComponent, RebindableComponent, EventSink, EventSource, DemoPanel, Component, FastComponent, FastComponentContainer
Direct Known Subclasses:
DynaLargeListBoxDemoPanel, DynaListBoxDemoPanel

public abstract class AbstractListBoxDemoPanel
extends CustomComponent
implements DemoPanel

See Also:
Serialized Form

Field Summary
 
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
AbstractListBoxDemoPanel()
           
 
Method Summary
protected abstract  Component createListBox()
           
 void event()
           
 java.util.List getApplicableComponents()
           
 java.util.List getBeans()
           
 MockModelBean getSelectedBean()
           
 java.util.List getSelectedBeans()
           
abstract  void multiSelection()
           
abstract  void random()
           
 void setSelectedBean(MockModelBean selectedBean)
           
 void setSelectedBeans(java.util.List selectedBeans)
           
abstract  void singleSelection()
           
 
Methods inherited from class net.sf.jzeno.echo.components.CustomComponent
addValidator, fireActionEvent, fireActionEvent, fireActionEvent, getActionCommand, getBean, getBeanClass, getDecorator, getNullObject, getProperty, getValidationErrors, getValidators, getValue, isBound, isMarkedInvalid, isReadOnly, isRequired, isValid, markInvalid, markValid, preRender, rebind, removeValidator, setActionCommand, setBean, setBeanClass, setDecorator, setNullObject, setProperty, setReadOnly, setRequired, setValue, traceValue, validate
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractListBoxDemoPanel

public AbstractListBoxDemoPanel()
Method Detail

singleSelection

public abstract void singleSelection()

multiSelection

public abstract void multiSelection()

createListBox

protected abstract Component createListBox()

random

public abstract void random()

getBeans

public java.util.List getBeans()

getSelectedBean

public MockModelBean getSelectedBean()

setSelectedBean

public void setSelectedBean(MockModelBean selectedBean)

getApplicableComponents

public java.util.List getApplicableComponents()
Specified by:
getApplicableComponents in interface DemoPanel

event

public void event()

getSelectedBeans

public java.util.List getSelectedBeans()

setSelectedBeans

public void setSelectedBeans(java.util.List selectedBeans)