jaxx.runtime.swing
Class ListSelectorUI<B>

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by jaxx.runtime.swing.ListSelectorUI<B>
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, JAXXContext, JAXXObject

public class ListSelectorUI<B>
extends JPanel
implements JAXXObject

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
protected  List<Object> $activeBindings
           
protected  Map<String,JAXXBinding> $bindings
           
protected  Map<String,Object> $bindingSources
           
protected  Map<String,Object> $objectMap
           
protected  Map<?,?> $previousValues
           
protected  JToolBar actions
           
protected  JButton add
           
protected  String addToComboTip
           
protected  String addToListTip
           
static String BINDING_ADD_ENABLED
           
static String BINDING_ADD_TOOL_TIP_TEXT
           
static String BINDING_COMBO_ENABLED
           
static String BINDING_COMBO_RENDERER
           
static String BINDING_HIDOR_ENABLED
           
static String BINDING_HIDOR_VISIBLE
           
static String BINDING_LIST_CELL_RENDERER
           
static String BINDING_LIST_ENABLED
           
static String BINDING_REMOVE_ENABLED
           
static String BINDING_REMOVE_TOOL_TIP_TEXT
           
protected  JComboBox combo
           
protected  JAXXContext delegateContext
           
protected  ListSelectorHandler<B> handler
           
protected  Table header
           
protected  HidorButton hidor
           
protected  JList list
           
protected  JScrollPane listPane
           
protected  Boolean modified
           
static String PROPERTY_ADD_TO_COMBO_TIP
           
static String PROPERTY_ADD_TO_LIST_TIP
           
static String PROPERTY_MODIFIED
           
static String PROPERTY_RENDERER
           
static String PROPERTY_SHOW_HIDOR
           
protected  JButton remove
           
protected  ListCellRenderer renderer
           
protected  Boolean showHidor
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ListSelectorUI()
           
ListSelectorUI(boolean param0)
           
ListSelectorUI(JAXXContext parentContext)
           
ListSelectorUI(JAXXContext parentContext, boolean param1)
           
ListSelectorUI(JAXXContext parentContext, LayoutManager param1)
           
ListSelectorUI(JAXXContext parentContext, LayoutManager param1, boolean param2)
           
ListSelectorUI(LayoutManager param0)
           
ListSelectorUI(LayoutManager param0, boolean param1)
           
 
Method Summary
static JAXXObjectDescriptor $getJAXXObjectDescriptor()
           
protected  void addChildrenToActions()
           
protected  void addChildrenToHeader()
           
protected  void addChildrenToListPane()
           
 void applyDataBinding(String $binding)
           
protected  void createActions()
           
protected  void createAdd()
           
protected  void createAddToComboTip()
           
protected  void createAddToListTip()
           
protected  void createCombo()
           
protected  void createHandler()
           
protected  void createHeader()
           
protected  void createHidor()
           
protected  void createList()
           
protected  void createListPane()
           
protected  void createModified()
           
protected  void createRemove()
           
protected  void createRenderer()
           
protected  void createShowHidor()
           
 void doActionPerformed__on__add(ActionEvent event)
           
 void doActionPerformed__on__remove(ActionEvent event)
           
 void doMouseClicked__on__list(MouseEvent event)
           
 void firePropertyChange(String propertyName, Object oldValue, Object newValue)
           
protected  JPanel get$JPanel1()
           
 Map<String,Object> get$objectMap()
           
 JToolBar getActions()
           
 JButton getAdd()
           
 String getAddToComboTip()
           
 String getAddToListTip()
           
 JComboBox getCombo()
           
 List<B> getComboDatas()
           
<T> T
getContextValue(Class<T> clazz)
           
<T> T
getContextValue(Class<T> clazz, String name)
           
 JAXXBinding getDataBinding(String bindingId)
           
 JAXXBinding[] getDataBindings()
           
 JAXXContext getDelegateContext()
           
 ListSelectorHandler<B> getHandler()
           
 Table getHeader()
           
 HidorButton getHidor()
           
 JList getList()
           
 List<B> getListDatas()
           
 JScrollPane getListPane()
           
 Boolean getModified()
           
 Object getObjectById(String id)
           
<O extends Container>
O
getParentContainer(Class<O> clazz)
           
<O extends Container>
O
getParentContainer(Object source, Class<O> clazz)
           
 JButton getRemove()
           
 ListCellRenderer getRenderer()
           
 Boolean getShowHidor()
           
 void init(List<B> toCombo, List<B> toList)
          Initialize the component.
 Boolean isModified()
           
 Boolean isShowHidor()
           
 void processDataBinding(String $binding)
           
 void processDataBinding(String $binding, boolean $force)
           
 void registerDataBinding(JAXXBinding binding)
           
<T> void
removeContextValue(Class<T> clazz)
           
<T> void
removeContextValue(Class<T> clazz, String name)
           
 void removeDataBinding(String $binding)
           
 void setAddToComboTip(String addToComboTip)
           
 void setAddToListTip(String addToListTip)
           
<T> void
setContextValue(T o)
           
<T> void
setContextValue(T o, String name)
           
 void setHandler(ListSelectorHandler<B> handler)
           
 void setModified(Boolean modified)
           
 void setRenderer(ListCellRenderer renderer)
           
 void setShowHidor(Boolean showHidor)
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jaxx.runtime.JAXXObject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

PROPERTY_ADD_TO_COMBO_TIP

public static final String PROPERTY_ADD_TO_COMBO_TIP
See Also:
Constant Field Values

PROPERTY_ADD_TO_LIST_TIP

public static final String PROPERTY_ADD_TO_LIST_TIP
See Also:
Constant Field Values

PROPERTY_MODIFIED

public static final String PROPERTY_MODIFIED
See Also:
Constant Field Values

PROPERTY_RENDERER

public static final String PROPERTY_RENDERER
See Also:
Constant Field Values

PROPERTY_SHOW_HIDOR

public static final String PROPERTY_SHOW_HIDOR
See Also:
Constant Field Values

BINDING_ADD_ENABLED

public static final String BINDING_ADD_ENABLED
See Also:
Constant Field Values

BINDING_ADD_TOOL_TIP_TEXT

public static final String BINDING_ADD_TOOL_TIP_TEXT
See Also:
Constant Field Values

BINDING_COMBO_ENABLED

public static final String BINDING_COMBO_ENABLED
See Also:
Constant Field Values

BINDING_COMBO_RENDERER

public static final String BINDING_COMBO_RENDERER
See Also:
Constant Field Values

BINDING_HIDOR_ENABLED

public static final String BINDING_HIDOR_ENABLED
See Also:
Constant Field Values

BINDING_HIDOR_VISIBLE

public static final String BINDING_HIDOR_VISIBLE
See Also:
Constant Field Values

BINDING_LIST_CELL_RENDERER

public static final String BINDING_LIST_CELL_RENDERER
See Also:
Constant Field Values

BINDING_LIST_ENABLED

public static final String BINDING_LIST_ENABLED
See Also:
Constant Field Values

BINDING_REMOVE_ENABLED

public static final String BINDING_REMOVE_ENABLED
See Also:
Constant Field Values

BINDING_REMOVE_TOOL_TIP_TEXT

public static final String BINDING_REMOVE_TOOL_TIP_TEXT
See Also:
Constant Field Values

$activeBindings

protected List<Object> $activeBindings

$bindingSources

protected Map<String,Object> $bindingSources

$bindings

protected final Map<String,JAXXBinding> $bindings

$objectMap

protected Map<String,Object> $objectMap

$previousValues

protected Map<?,?> $previousValues

delegateContext

protected final JAXXContext delegateContext

actions

protected JToolBar actions

add

protected JButton add

addToComboTip

protected String addToComboTip

addToListTip

protected String addToListTip

combo

protected JComboBox combo

handler

protected ListSelectorHandler<B> handler

header

protected Table header

hidor

protected HidorButton hidor

list

protected JList list

listPane

protected JScrollPane listPane

modified

protected Boolean modified

remove

protected JButton remove

renderer

protected ListCellRenderer renderer

showHidor

protected Boolean showHidor
Constructor Detail

ListSelectorUI

public ListSelectorUI(LayoutManager param0,
                      boolean param1)

ListSelectorUI

public ListSelectorUI(JAXXContext parentContext,
                      LayoutManager param1,
                      boolean param2)

ListSelectorUI

public ListSelectorUI(LayoutManager param0)

ListSelectorUI

public ListSelectorUI(JAXXContext parentContext,
                      LayoutManager param1)

ListSelectorUI

public ListSelectorUI(boolean param0)

ListSelectorUI

public ListSelectorUI(JAXXContext parentContext,
                      boolean param1)

ListSelectorUI

public ListSelectorUI()

ListSelectorUI

public ListSelectorUI(JAXXContext parentContext)
Method Detail

setHandler

public void setHandler(ListSelectorHandler<B> handler)

getComboDatas

public List<B> getComboDatas()
Returns:
the datas from the combo box.

getListDatas

public List<B> getListDatas()
Returns:
the data for the list.

init

public void init(List<B> toCombo,
                 List<B> toList)
Initialize the component.

Parameters:
toCombo - datas to set in combo
toList - datas to set in list

$getJAXXObjectDescriptor

public static JAXXObjectDescriptor $getJAXXObjectDescriptor()

applyDataBinding

public void applyDataBinding(String $binding)
Specified by:
applyDataBinding in interface JAXXObject

firePropertyChange

public void firePropertyChange(String propertyName,
                               Object oldValue,
                               Object newValue)
Specified by:
firePropertyChange in interface JAXXObject
Overrides:
firePropertyChange in class Component

get$objectMap

public Map<String,Object> get$objectMap()
Specified by:
get$objectMap in interface JAXXObject

getDataBinding

public JAXXBinding getDataBinding(String bindingId)
Specified by:
getDataBinding in interface JAXXObject

getDataBindings

public JAXXBinding[] getDataBindings()
Specified by:
getDataBindings in interface JAXXObject

getObjectById

public Object getObjectById(String id)
Specified by:
getObjectById in interface JAXXObject

processDataBinding

public void processDataBinding(String $binding,
                               boolean $force)
Specified by:
processDataBinding in interface JAXXObject

processDataBinding

public void processDataBinding(String $binding)
Specified by:
processDataBinding in interface JAXXObject

registerDataBinding

public void registerDataBinding(JAXXBinding binding)
Specified by:
registerDataBinding in interface JAXXObject

removeDataBinding

public void removeDataBinding(String $binding)
Specified by:
removeDataBinding in interface JAXXObject

getContextValue

public <T> T getContextValue(Class<T> clazz)
Specified by:
getContextValue in interface JAXXContext

getContextValue

public <T> T getContextValue(Class<T> clazz,
                             String name)
Specified by:
getContextValue in interface JAXXContext

getDelegateContext

public JAXXContext getDelegateContext()
Specified by:
getDelegateContext in interface JAXXObject

getParentContainer

public <O extends Container> O getParentContainer(Class<O> clazz)
Specified by:
getParentContainer in interface JAXXObject

getParentContainer

public <O extends Container> O getParentContainer(Object source,
                                                  Class<O> clazz)
Specified by:
getParentContainer in interface JAXXObject

removeContextValue

public <T> void removeContextValue(Class<T> clazz)
Specified by:
removeContextValue in interface JAXXContext

removeContextValue

public <T> void removeContextValue(Class<T> clazz,
                                   String name)
Specified by:
removeContextValue in interface JAXXContext

setContextValue

public <T> void setContextValue(T o)
Specified by:
setContextValue in interface JAXXContext

setContextValue

public <T> void setContextValue(T o,
                                String name)
Specified by:
setContextValue in interface JAXXContext

doActionPerformed__on__add

public void doActionPerformed__on__add(ActionEvent event)

doActionPerformed__on__remove

public void doActionPerformed__on__remove(ActionEvent event)

doMouseClicked__on__list

public void doMouseClicked__on__list(MouseEvent event)

getActions

public JToolBar getActions()

getAdd

public JButton getAdd()

getAddToComboTip

public String getAddToComboTip()

getAddToListTip

public String getAddToListTip()

getCombo

public JComboBox getCombo()

getHandler

public ListSelectorHandler<B> getHandler()

getHeader

public Table getHeader()

getHidor

public HidorButton getHidor()

getList

public JList getList()

getListPane

public JScrollPane getListPane()

getModified

public Boolean getModified()

getRemove

public JButton getRemove()

getRenderer

public ListCellRenderer getRenderer()

getShowHidor

public Boolean getShowHidor()

isModified

public Boolean isModified()

isShowHidor

public Boolean isShowHidor()

setAddToComboTip

public void setAddToComboTip(String addToComboTip)

setAddToListTip

public void setAddToListTip(String addToListTip)

setModified

public void setModified(Boolean modified)

setRenderer

public void setRenderer(ListCellRenderer renderer)

setShowHidor

public void setShowHidor(Boolean showHidor)

get$JPanel1

protected JPanel get$JPanel1()

addChildrenToActions

protected void addChildrenToActions()

addChildrenToHeader

protected void addChildrenToHeader()

addChildrenToListPane

protected void addChildrenToListPane()

createActions

protected void createActions()

createAdd

protected void createAdd()

createAddToComboTip

protected void createAddToComboTip()

createAddToListTip

protected void createAddToListTip()

createCombo

protected void createCombo()

createHandler

protected void createHandler()

createHeader

protected void createHeader()

createHidor

protected void createHidor()

createList

protected void createList()

createListPane

protected void createListPane()

createModified

protected void createModified()

createRemove

protected void createRemove()

createRenderer

protected void createRenderer()

createShowHidor

protected void createShowHidor()


Copyright © 2008-2011 CodeLutin. All Rights Reserved.