|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--dog.gui.DContainer
|
+--dog.gui.DList
A container for displaying and manipulating items.
| Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
| Field Summary | |
static int |
CENTER
The centre column alignment. |
protected ItemCollator |
collator
The item collator used to sort the items in this list. |
protected java.util.Hashtable |
columnMap
|
protected java.util.Vector |
columns
The columns in this list. |
static int |
COLUMNS
The items' fields are displayed in columns according to the column specifications in the list. |
protected java.text.DateFormat |
dateFormat
The date formatter used to format dates in items. |
static java.lang.String |
DEFAULT_COLUMN
The default column name. |
protected java.util.Hashtable |
descendingMap
The sort direction of the indices. |
protected boolean |
filled
Is this list filled? |
static int |
ICON
Items are displayed as icons with the label below the icon. |
protected int |
indent
The amount by which items in the tree are indented. |
protected java.util.Vector |
indices
The sort indices and direction. |
protected Tree |
items
The items in this list. |
protected boolean |
lastItemDeselectable
Whether to allow the last selected item in the list to be deselected. |
static int |
LEFT
The left column alignment. |
static int |
LIST_HORIZONTAL
Items are displayed as entries with the label to the east of the icon and the icon rescaled to the text height. |
static int |
LIST_VERTICAL
Items are displayed as entries with the label to the east of the icon and the icon rescaled to the text height. |
protected static java.awt.Dimension |
MINLARGEICONSIZE
The minimum size for large icons (32x32). |
protected static java.awt.Dimension |
MINSMALLICONSIZE
The minimum size for small icons (16x16). |
protected int |
mode
The mode of this view (LIST, FIELDS, or ICON). |
protected boolean |
multipleMode
Whether to allow multiple selections. |
static int |
RIGHT
The right column alignment. |
protected boolean |
selectable
Whether to allow items in the list to be selected. |
protected boolean |
showColumnLines
Should vertical lines be drawn separating the columns? |
protected boolean |
showTreeLines
Should tree lines be drawn to child items in a tree? |
protected boolean |
sorted
Whether to sort this list. |
protected boolean |
suppressHorizontalScrollbar
Whether to suppress the horizontal scrollbar. |
protected boolean |
suppressVerticalScrollbar
Whether to suppress the vertical scrollbar, if necessary. |
protected TreeValidator |
treeValidator
The object used to validate lazy items. |
protected DScrollbar |
vertical
The vertical scrollbar. |
| Fields inherited from class dog.gui.DContainer |
cancelButton, defaultButton, EAST, NORTH, NORTHEAST, NORTHWEST, reference, SOUTH, SOUTHEAST, SOUTHWEST, tooltip, WEST |
| 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 | |
DList()
Constructs a list. |
|
DList(boolean multipleMode)
Constructs a list, indicating whether to allow multiple selections. |
|
DList(boolean multipleMode,
int mode)
Constructs a list with the specified mode, indicating whether to allow multiple selections. |
|
DList(int mode)
Constructs a list with the specified mode. |
|
| Method Summary | |
DItem |
add(DItem item)
Adds an item to the list. |
DItem[] |
add(DItem[] items)
Adds items to the list. |
DItem |
add(DItem parent,
DItem child)
Adds an item to the list as a child of the specified parent item. |
DItem[] |
add(DItem parent,
DItem[] children)
Adds items to the list as children of the specified parent item. |
void |
addActionListener(java.awt.event.ActionListener listener)
Adds the specified action listener to receive action events from this list. |
void |
addColumn(java.lang.String name)
Adds a column to the list with the specified name. |
void |
addColumn(java.lang.String name,
int align)
Adds a column to the list with the specified name and alignment. |
void |
addColumn(java.lang.String name,
java.lang.Object content,
int width,
int align)
Adds a column to the list with the specified name, content, width, and alignment. |
void |
addColumn(java.lang.String name,
java.lang.String label)
Adds a column to the list with the specified name and text label. |
void |
addColumn(java.lang.String name,
java.lang.String label,
int align)
Adds a column to the list with the specified name, label, and alignment. |
protected void |
addImpl(java.awt.Component component,
java.lang.Object constraints,
int index)
Adds a component to this list's view (unless it is a scrollbar or the view itself). |
void |
addIndex(java.lang.String column,
boolean descending)
Adds a sort index to the list. |
void |
addItemListener(java.awt.event.ItemListener listener)
Adds the specified item listener to receive item events from this list. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds the specified vetoable change listener to receive vetoable change events from this component. |
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent event)
A scrollbar was moved. |
void |
clear()
Removes all items from the list. |
void |
collapseAll()
Collapse all the items in the list. |
boolean |
contains(DItem item)
Indicates whether this list contains the specified item. |
void |
doLayout()
Lays out the scrollbars and content, calculating the column widths. |
void |
expandAll()
Expand all the items in the list. |
int |
getChildCount(DItem parent)
Returns the number of children of the specified parent item. |
DItem[] |
getChildren(DItem parent)
Returns the children of the specified parent item. |
DItem[] |
getCollapsed()
Returns the collapsed items in this list. |
java.lang.Object |
getColumn(java.lang.String column)
Returns the content of the given column. |
int |
getColumnAlign(java.lang.String column)
Returns the alignment of the given column (LEFT, CENTRE, or RIGHT), or -1 if the column does not exist. |
java.lang.String[] |
getColumnNames()
Returns the names of the columns in this list. |
int |
getColumnWidth(java.lang.String column)
Returns the width of the given column, or -1 if the column does not exist. |
DItem |
getCurrent()
In single-select mode, returns the selected item in this list. |
java.lang.Object |
getCurrentReference()
Returns the current item's reference. |
java.text.DateFormat |
getDateFormat()
Returns the date formatter used to format dates in this list. |
int |
getDepth(DItem item)
Returns the depth of the specified item in the hierarchical tree. |
int |
getFontStyle(DItem item)
Returns the specified item's font style in this list. |
int |
getIndent()
Returns the indentation of the items when displayed in tree form. |
java.lang.String[] |
getIndices()
Returns the names of the columns that the list is sorted on. |
DItem |
getItem(java.lang.Object reference)
Returns the item in this list with the specified reference, or null if no such item exists. |
int |
getItemCount()
Returns the number of items in the list. |
DItem[] |
getItems()
Returns all the items in the list. |
int |
getMode()
Returns the mode this list displays its items according to. |
DItem |
getParent(DItem child)
Returns the parent of the specified child item, or null if the child has no parent in this list. |
java.awt.Dimension |
getPreferredSize()
|
java.lang.Object |
getReference()
Returns the object reference. |
int |
getRootCount()
Returns the number of root items in this list. |
DItem[] |
getRoots()
Returns the root items in this list. |
DItem[] |
getSelected()
Returns the selected items in this list. |
int |
getSelectedCount()
Returns the number of selected items in this list. |
java.lang.Object[] |
getSelectedObjects()
Returns the selected items in this list. |
TreeValidator |
getTreeValidator()
Returns the tree validator used to validate lazy items. |
int |
getVisibleItemCount()
Returns the number of items that can visually fit into the list view area. |
boolean |
hasChildren()
Determines if this list contains items that are children of other items. |
boolean |
hasChildren(DItem parent)
Indicates whether the specified parent item has any children. |
boolean |
isCollapsed(DItem item)
Indicates whether the specified item is collapsed in this list. |
boolean |
isEnabled(DItem item)
Indicates whether the specified item is enabled in this list. |
boolean |
isFilled()
Indicates whether this list is filled. |
boolean |
isIndexDescending(java.lang.String column)
Indicates whether the list is sorted in reverse order on the specified column. |
boolean |
isLastItemDeselectable()
Indicates whether the last selected item in the list can be deselected. |
boolean |
isLazy(DItem item)
Indicates whether the specified item is lazy in this list. |
boolean |
isMultipleMode()
Indicates whether multiple items can be selected in the list. |
boolean |
isSelectable()
Indicates whether items in the list can be selected. |
boolean |
isSelected(DItem item)
Indicates whether the specified item is selected in this list. |
boolean |
isShowColumnLines()
Indicates whether column lines are shown. |
boolean |
isShowTreeLines()
Indicates whether tree lines are shown. |
boolean |
isSorted()
Indicates whether this list is sorted. |
boolean |
isSuppressHorizontalScrollbar()
Indicates whether this list suppresses the use of the horizontal scrollbar. |
boolean |
isSuppressVerticalScrollbar()
Indicates whether this list suppresses the use of the vertical scrollbar. |
void |
moveColumn(java.lang.String column,
int index)
Moves the specified column in the list of columns. |
void |
paint(java.awt.Graphics g)
Paints the list. |
java.lang.String |
paramString()
Returns a shortish parameter string for the list. |
protected void |
processActionEvent(java.awt.event.ActionEvent event)
Processes action events on this list by dispatching them to any registered ActionListeners. |
protected void |
processEvent(java.awt.AWTEvent event)
Processes events on this list. |
protected void |
processItemEvent(java.awt.event.ItemEvent event)
Processes item events on this list by dispatching them to any registered ItemListeners. |
protected void |
processMouseEvent(java.awt.event.MouseEvent event)
Process mouse events. |
protected void |
processMouseMotionEvent(java.awt.event.MouseEvent event)
Process mouse motion events. |
protected void |
processSelection(DItem item,
int modifiers,
int clickCount)
Processes an input event representing a selection. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
An item in this list changed state. |
DItem |
remove(DItem item)
Removes an item from the list. |
DItem[] |
remove(DItem[] items)
Removes items from the list. |
void |
removeActionListener(java.awt.event.ActionListener listener)
Removes the specified action listener so that it no longer receives action events from this list. |
void |
removeAllColumns()
Removes all the columns from the list. |
void |
removeAllIndices()
Removes all the sort indices from the list. |
void |
removeChildren(DItem parent)
Removes an item's children from the list. |
void |
removeColumn(java.lang.String column)
Removes a column from the list. |
void |
removeIndex(java.lang.String column)
Removes a sort index from the list. |
void |
removeItemListener(java.awt.event.ItemListener listener)
Removes the specified item listener so that it no longer receives item events from this list. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes the specified vetoable change listener so it no longer receives vetoable change events from this component. |
DItem[] |
replace(DItem[] items)
Convenience method for replacing all the items with the specified set. |
void |
scrollTo(DItem item)
Scrolls the view so that the specified item is in sight, if it exists. |
DItem[] |
setCollapsed(DItem[] items,
boolean flag)
Set the specified items to be collapsed or expanded. |
DItem |
setCollapsed(DItem item,
boolean flag)
Sets the specified item to be collapsed or expanded. |
void |
setDateFormat(java.text.DateFormat dateFormat)
Sets the date formatter used to format dates in this list. |
DItem[] |
setEnabled(DItem[] items,
boolean flag)
Set the specified items to be enabled or not. |
DItem |
setEnabled(DItem item,
boolean flag)
Sets the specified item to be enabled or not. |
void |
setFilled(boolean filled)
Sets whether to fill this list with the fill colour. |
DItem[] |
setFontStyle(DItem[] items,
int style)
Set the specified items' font style. |
DItem |
setFontStyle(DItem item,
int style)
Sets the specified item's font style. |
void |
setIndent(int indent)
Sets the indentation of the items when displayed in tree form. |
void |
setLastItemDeselectable(boolean flag)
Sets whether to allow the last selected item in the list to be deselected. |
DItem[] |
setLazy(DItem[] items,
boolean flag)
Set the specified items to be lazy or not. |
DItem |
setLazy(DItem item,
boolean flag)
Sets the specified item to be lazy or not. |
void |
setMode(int mode)
Sets the mode this list displays its items according to. |
void |
setMultipleMode(boolean flag)
Sets whether to allow selection of multiple items in the list. |
void |
setReference(java.lang.Object reference)
Sets the object reference. |
void |
setSelectable(boolean flag)
Sets whether to allow items in the list to be selected. |
DItem[] |
setSelected(DItem[] items,
boolean flag)
Set the specified items to be selected or unselected. |
DItem |
setSelected(DItem item,
boolean flag)
Sets the specified item to be selected or unselected. |
void |
setShowColumnLines(boolean flag)
Sets whether to show column lines. |
void |
setShowTreeLines(boolean flag)
Sets whether to show tree lines. |
void |
setSorted(boolean flag)
Sets whether to sort this list. |
void |
setSuppressHorizontalScrollbar(boolean flag)
Sets whether to suppress the horizontal scrollbar. |
void |
setSuppressVerticalScrollbar(boolean flag)
Sets whether to suppress the vertical scrollbar. |
void |
setTreeValidator(TreeValidator validator)
Sets the tree validator used to validate lazy items. |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addNotify, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleContext, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, transferFocus |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int LIST_VERTICAL
public static final int LIST_HORIZONTAL
protected static final java.awt.Dimension MINSMALLICONSIZE
protected static final java.awt.Dimension MINLARGEICONSIZE
public static final int COLUMNS
getColumnNames(),
getColumn(String),
getColumnWidth(String),
getColumnAlign(String),
DEFAULT_COLUMNpublic static final int ICON
public static final int LEFT
public static final int CENTER
public static final int RIGHT
protected int mode
getMode(),
setMode(int)protected int indent
getIndent(),
setIndent(int)protected boolean multipleMode
isMultipleMode(),
setMultipleMode(boolean)protected boolean filled
isFilled(),
setFilled(boolean)protected boolean showColumnLines
isShowColumnLines(),
setShowColumnLines(boolean)protected boolean showTreeLines
isShowTreeLines(),
setShowTreeLines(boolean)protected boolean selectable
isSelectable(),
setSelectable(boolean)protected boolean lastItemDeselectable
isLastItemDeselectable(),
setLastItemDeselectable(boolean)protected boolean suppressHorizontalScrollbar
isSuppressHorizontalScrollbar(),
setSuppressHorizontalScrollbar(boolean)protected boolean suppressVerticalScrollbar
isSuppressVerticalScrollbar(),
setSuppressVerticalScrollbar(boolean)protected DScrollbar vertical
protected Tree items
protected TreeValidator treeValidator
protected java.text.DateFormat dateFormat
protected java.util.Vector columns
protected java.util.Hashtable columnMap
public static final java.lang.String DEFAULT_COLUMN
protected boolean sorted
protected java.util.Vector indices
protected java.util.Hashtable descendingMap
protected ItemCollator collator
| Constructor Detail |
public DList()
public DList(boolean multipleMode)
multipleMode - true if multiple selections are to be allowed, false otherwise.public DList(int mode)
mode - the mode of the list (LIST_VERTICAL, LIST_HORIZONTAL, COLUMNS, or ICON).
public DList(boolean multipleMode,
int mode)
multipleMode - true if multiple selections are to be allowed, false otherwise.mode - the mode of the list (LIST_VERTICAL, LIST_HORIZONTAL, COLUMNS, or ICON).| Method Detail |
public int getMode()
setMode(int)public void setMode(int mode)
mode - LIST_VERTICAL, LIST_HORIZONTAL, COLUMNS, or ICON.java.lang.IllegalArgumentException - if an invalid mode is suppliedgetMode()public int getIndent()
setIndent(int)public void setIndent(int indent)
getIndent()public boolean isMultipleMode()
setMultipleMode(boolean)public void setMultipleMode(boolean flag)
isMultipleMode()public boolean isLastItemDeselectable()
setLastItemDeselectable(boolean)public void setLastItemDeselectable(boolean flag)
isLastItemDeselectable()public boolean isSelectable()
setSelectable(boolean)public void setSelectable(boolean flag)
isSelectable()public boolean isSuppressHorizontalScrollbar()
setSuppressHorizontalScrollbar(boolean)public void setSuppressHorizontalScrollbar(boolean flag)
isSuppressHorizontalScrollbar()public boolean isSuppressVerticalScrollbar()
setSuppressVerticalScrollbar(boolean)public void setSuppressVerticalScrollbar(boolean flag)
isSuppressVerticalScrollbar()public boolean isFilled()
public void setFilled(boolean filled)
public boolean isShowColumnLines()
public void setShowColumnLines(boolean flag)
public boolean isShowTreeLines()
public void setShowTreeLines(boolean flag)
public java.text.DateFormat getDateFormat()
public void setDateFormat(java.text.DateFormat dateFormat)
protected void addImpl(java.awt.Component component,
java.lang.Object constraints,
int index)
addImpl in class DContainerpublic DItem[] getItems()
public int getItemCount()
public DItem getItem(java.lang.Object reference)
public boolean hasChildren()
public DItem[] getChildren(DItem parent)
parent - the parent itempublic boolean hasChildren(DItem parent)
parent - the parent itempublic int getChildCount(DItem parent)
parent - the parent itempublic DItem getParent(DItem child)
child - the child itempublic int getDepth(DItem item)
public DItem[] getRoots()
public int getRootCount()
public boolean contains(DItem item)
public DItem add(DItem item)
item - the item to addremove(dog.gui.DItem)
public DItem add(DItem parent,
DItem child)
remove(dog.gui.DItem),
getChildren(DItem),
getParent(DItem),
getRoots()public DItem[] add(DItem[] items)
remove(dog.gui.DItem)
public DItem[] add(DItem parent,
DItem[] children)
remove(dog.gui.DItem)public DItem[] replace(DItem[] items)
items - the new set of itemspublic DItem remove(DItem item)
add(DItem),
removeChildren(DItem)public DItem[] remove(DItem[] items)
add(DItem),
removeChildren(DItem)public void clear()
public void removeChildren(DItem parent)
remove(DItem)public boolean isSelected(DItem item)
getSelected(),
setSelected(dog.gui.DItem, boolean)
public DItem setSelected(DItem item,
boolean flag)
flag - true if the item is to be selected, false otherwisegetSelected(),
isSelected(dog.gui.DItem)
public DItem[] setSelected(DItem[] items,
boolean flag)
flag - true if the items are to be selected, false otherwisegetSelected(),
isSelected(dog.gui.DItem)public DItem[] getSelected()
getSelectedCount(),
isSelected(dog.gui.DItem),
setSelected(dog.gui.DItem, boolean)public int getSelectedCount()
getSelected()public DItem getCurrent()
getCurrentReference()public java.lang.Object getCurrentReference()
getCurrent()public java.lang.Object[] getSelectedObjects()
getSelectedObjects in interface java.awt.ItemSelectablegetSelected(),
getSelectedCount()public boolean isCollapsed(DItem item)
public DItem setCollapsed(DItem item,
boolean flag)
flag - true if the item is to be collapsed, false if it is to be expanded
public DItem[] setCollapsed(DItem[] items,
boolean flag)
flag - true if the items are to be collapsed, false if they are to be expandedpublic void collapseAll()
public void expandAll()
public DItem[] getCollapsed()
public boolean isLazy(DItem item)
public DItem setLazy(DItem item,
boolean flag)
flag - true if the item is to be lazy, false otherwise
public DItem[] setLazy(DItem[] items,
boolean flag)
flag - true if the items are to be lazy, false otherwisepublic boolean isEnabled(DItem item)
public DItem setEnabled(DItem item,
boolean flag)
flag - true if the item is to be enabled, false otherwise
public DItem[] setEnabled(DItem[] items,
boolean flag)
flag - true if the items are to be enabled, false otherwisepublic int getFontStyle(DItem item)
Font
public DItem setFontStyle(DItem item,
int style)
style - the font styleFont
public DItem[] setFontStyle(DItem[] items,
int style)
style - the font styleFontpublic void scrollTo(DItem item)
item - the itempublic TreeValidator getTreeValidator()
public void setTreeValidator(TreeValidator validator)
validator - the tree validator used to validate lazy itemspublic int getVisibleItemCount()
public java.lang.String[] getColumnNames()
public java.lang.Object getColumn(java.lang.String column)
column - the column namepublic int getColumnWidth(java.lang.String column)
column - the column namepublic int getColumnAlign(java.lang.String column)
column - the column namepublic void addColumn(java.lang.String name)
name - the column name
public void addColumn(java.lang.String name,
int align)
name - the column namealign - the alignment of the column (LEFT, CENTRE, or RIGHT)
public void addColumn(java.lang.String name,
java.lang.String label)
name - the column namelabel - the column label
public void addColumn(java.lang.String name,
java.lang.String label,
int align)
name - the column namelabel - the column labelalign - the alignment of the column (LEFT, CENTRE, or RIGHT)
public void addColumn(java.lang.String name,
java.lang.Object content,
int width,
int align)
name - the column namecontent - the column contentwidth - the width of the column; values less than or equal to zero specify that the column is to be resized dynamicallyalign - the alignment of the column (LEFT, CENTRE, or RIGHT)public void removeColumn(java.lang.String column)
column - the column namepublic void removeAllColumns()
public void moveColumn(java.lang.String column,
int index)
column - the column nameindex - the index to move topublic boolean isSorted()
setSorted(boolean),
getIndices()public void setSorted(boolean flag)
isSorted(),
addIndex(java.lang.String, boolean)public java.lang.String[] getIndices()
public boolean isIndexDescending(java.lang.String column)
column - the column name
public void addIndex(java.lang.String column,
boolean descending)
column - the name of the column to sort ondescending - if true, sort on this column in the reverse orderpublic void removeIndex(java.lang.String column)
column - the name of the column not to sort onpublic void removeAllIndices()
public java.lang.Object getReference()
getReference in class DContainerpublic void setReference(java.lang.Object reference)
setReference in class DContainerreference - the object reference to store.public java.awt.Dimension getPreferredSize()
getPreferredSize in class java.awt.Containerpublic void doLayout()
doLayout in class java.awt.Containerpublic void paint(java.awt.Graphics g)
paint in class java.awt.Containerpublic void addActionListener(java.awt.event.ActionListener listener)
listener - the action listenerpublic void removeActionListener(java.awt.event.ActionListener listener)
listener - the action listenerpublic void addItemListener(java.awt.event.ItemListener listener)
addItemListener in interface java.awt.ItemSelectablelistener - the item listenerpublic void removeItemListener(java.awt.event.ItemListener listener)
removeItemListener in interface java.awt.ItemSelectablelistener - the item listenerpublic void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener - the vetoable change listenerpublic void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener - the vetoable change listenerprotected void processEvent(java.awt.AWTEvent event)
processEvent in class DContainerevent - the eventprotected void processActionEvent(java.awt.event.ActionEvent event)
event - the action eventprotected void processItemEvent(java.awt.event.ItemEvent event)
event - the item eventprotected void processMouseEvent(java.awt.event.MouseEvent event)
processMouseEvent in class DContainerprotected void processMouseMotionEvent(java.awt.event.MouseEvent event)
processMouseMotionEvent in class DContainer
protected void processSelection(DItem item,
int modifiers,
int clickCount)
item - the item that was activatedmodifiers - the key modifiers for the eventclickCount - the number of clicks registered on the itempublic void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListener