public class FwkInfoBusItemChildList extends FwkInfoBusItemList implements FwkInfoBusItemGroupInterface
,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
protected class |
FwkInfoBusItemChildList.ChildListener
The item list child listener.
|
FwkInfoBusItemList.ItemListConsumerjavax.swing.JList.AccessibleJList, javax.swing.JList.DropLocationjavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
version |
consumer, dataItemList, dataObject, groupListaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
FwkInfoBusItemChildList()
The constructor receiving a listbox.
|
FwkInfoBusItemChildList(FwkInfoBusImmediateAccessInterface item)
The constructor receiving a listbox.
|
FwkInfoBusItemChildList(FwkInfoBusImmediateAccessInterface item,
javax.swing.ListModel dataModel)
Creates a JList that takes its items from an existing ComboBoxModel.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addChild(FwkInfoBusItemGroupInterface child)
Add a child to group.
|
void |
addChildListener(FwkChildListenerInterface l)
Add a child listener.
|
boolean |
containsChild(FwkInfoBusItemGroupInterface child)
Return a boolean whether the given child is already in group.
|
FwkArrayInterface |
getAllChildren()
Returns the children of the group.
|
FwkArrayInterface |
getAllChildren(FwkArrayInterface array)
Returns the children of the group recursivly.
|
FwkArrayInterface |
getChildren()
Returns the children of the group.
|
FwkArrayInterface |
getChildren(FwkArrayInterface array)
Returns the children of the group.
|
int |
getChildrenCount(boolean recursive)
Return the total number of children.
|
FwkInfoBusItemGroupInterface |
getParentItem()
Get the parent item.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
hasChildren()
Returns a boolean that indicates whether the group has children.
|
protected void |
initialize(FwkInfoBusImmediateAccessInterface item)
Initialize the list.
|
protected void |
loadItems()
Load the items.
|
void |
removeAllChildren()
Remove all children from group.
|
void |
removeChild(FwkInfoBusItemGroupInterface child)
Remove a child to group.
|
void |
removeChild(FwkInfoBusItemGroupInterface child,
boolean recursive)
Remove a child recursively from group.
|
void |
removeChildListener(FwkChildListenerInterface l)
Remove a child listener.
|
void |
setChildren(FwkArrayInterface array)
Sets the children of the group.
|
void |
setParentItem(FwkInfoBusItemGroupInterface item)
Set the parent item.
|
addInfoBusItem, getFwkMimeTypes, getInfoBusName, getSelectedItem, getSelectedItems, getToolTipText, initialize, propertyChange, release, setFilter, setFlavor, setInfoBusParams, setMimeType, updateaddListSelectionListener, addSelectionInterval, clearSelection, createSelectionModel, ensureIndexIsVisible, fireSelectionValueChanged, getAccessibleContext, getAnchorSelectionIndex, getCellBounds, getCellRenderer, getDragEnabled, getDropLocation, getDropMode, getFirstVisibleIndex, getFixedCellHeight, getFixedCellWidth, getLastVisibleIndex, getLayoutOrientation, getLeadSelectionIndex, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getModel, getNextMatch, getPreferredScrollableViewportSize, getPrototypeCellValue, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedIndex, getSelectedIndices, getSelectedValue, getSelectedValues, getSelectedValuesList, getSelectionBackground, getSelectionForeground, getSelectionMode, getSelectionModel, getUI, getUIClassID, getValueIsAdjusting, getVisibleRowCount, indexToLocation, isSelectedIndex, isSelectionEmpty, locationToIndex, paramString, removeListSelectionListener, removeSelectionInterval, setCellRenderer, setDragEnabled, setDropMode, setFixedCellHeight, setFixedCellWidth, setLayoutOrientation, setListData, setListData, setModel, setPrototypeCellValue, setSelectedIndex, setSelectedIndices, setSelectedValue, setSelectionBackground, setSelectionForeground, setSelectionInterval, setSelectionMode, setSelectionModel, setUI, setValueIsAdjusting, setVisibleRowCount, updateUIaddAncestorListener, 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, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, 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, updateadd, 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, transferFocusDownCycle, validate, validateTreeaction, 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, 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, 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, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamepublic static final java.lang.String version
public FwkInfoBusItemChildList()
item - The parent item.public FwkInfoBusItemChildList(FwkInfoBusImmediateAccessInterface item)
item - The parent item.public FwkInfoBusItemChildList(FwkInfoBusImmediateAccessInterface item, javax.swing.ListModel dataModel)
aModel - The combox box model to be used.public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class FwkInfoBusItemListprotected void initialize(FwkInfoBusImmediateAccessInterface item)
protected void loadItems()
loadItems in class FwkInfoBusItemListpublic void setParentItem(FwkInfoBusItemGroupInterface item)
item - the parent.public FwkInfoBusItemGroupInterface getParentItem()
public boolean hasChildren()
hasChildren in interface FwkInfoBusItemGroupInterfacepublic int getChildrenCount(boolean recursive)
getChildrenCount in interface FwkInfoBusItemGroupInterfacerecursive - if true the counter will parse the child groups.public FwkArrayInterface getChildren()
getChildren in interface FwkInfoBusItemGroupInterfacepublic FwkArrayInterface getChildren(FwkArrayInterface array)
getChildren in interface FwkInfoBusItemGroupInterfacearray - An array to store the children.
If this parameter is null the routine must create it.
The parameter or the newly created array will be returned.public FwkArrayInterface getAllChildren()
getAllChildren in interface FwkInfoBusItemGroupInterfacepublic FwkArrayInterface getAllChildren(FwkArrayInterface array)
getAllChildren in interface FwkInfoBusItemGroupInterfacearray - An array to store the recursive children.
If this parameter is null the routine must create it.
The parameter or the newly created array will be returned.public void setChildren(FwkArrayInterface array)
setChildren in interface FwkInfoBusItemGroupInterfacearray - An array containing the names of children of the group.public boolean addChild(FwkInfoBusItemGroupInterface child)
addChild in interface FwkInfoBusItemGroupInterfacechild - The new child.public boolean containsChild(FwkInfoBusItemGroupInterface child)
containsChild in interface FwkInfoBusItemGroupInterfacechild - the child to be checked.public void removeChild(FwkInfoBusItemGroupInterface child)
removeChild in interface FwkInfoBusItemGroupInterfacechild - The new child.public void removeAllChildren()
removeAllChildren in interface FwkInfoBusItemGroupInterfacepublic void removeChild(FwkInfoBusItemGroupInterface child, boolean recursive)
removeChild in interface FwkInfoBusItemGroupInterfacechild - The new child.public void addChildListener(FwkChildListenerInterface l)
addChildListener in interface FwkInfoBusItemGroupInterfacel - The listener to be added.public void removeChildListener(FwkChildListenerInterface l)
removeChildListener in interface FwkInfoBusItemGroupInterfacel - The listener to be removed.