jaxx.runtime.swing
Class ListSelectorUI<B>
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
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
| 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 |
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
ListSelectorUI
public ListSelectorUI()
ListSelectorUI
public ListSelectorUI(JAXXContext parentContext)
setHandler
public void setHandler(ListSelectorHandler 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 combotoList - 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
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 newValue)
setAddToListTip
public void setAddToListTip(String newValue)
setModified
public void setModified(Boolean newValue)
setRenderer
public void setRenderer(ListCellRenderer newValue)
setShowHidor
public void setShowHidor(Boolean newValue)
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.