|
ElegantJ Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JScrollPane
com.elegantj.jfc.list.JFCListPanel
This class provides the scrollpane to the JFCList. All the methods of the JFCList are implemented by this, so user can use them.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JScrollPane |
javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected JFCList |
m_jfcList
Specifies a JFCList object |
| Fields inherited from class javax.swing.JScrollPane |
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport |
| 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 javax.swing.ScrollPaneConstants |
COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
JFCListPanel()
Creates a JFCListPanel with JFCList as a view. |
|
JFCListPanel(javax.swing.ListModel dataModel)
|
|
JFCListPanel(java.lang.Object[] listData)
|
|
JFCListPanel(java.util.Vector listData)
|
|
| Method Summary | |
void |
addFocusListener(java.awt.event.FocusListener l)
Adds the specified focus listener to receive focus events from this component when this component gains input focus. |
void |
addItem(java.lang.Object item)
Adds the item to the list |
void |
addKeyListener(java.awt.event.KeyListener l)
Adds the specified key listener to receive key events from this component. |
void |
addListSelectionListener(javax.swing.event.ListSelectionListener listener)
Adds a listener to the list that's notified each time a change to the selection occurs. |
void |
addMouseListener(java.awt.event.MouseListener l)
|
void |
addMouseMotionListener(java.awt.event.MouseMotionListener l)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list. |
void |
addSelectionInterval(int anchor,
int lead)
Sets the selection to be the union of the specified interval with current selection. |
void |
clearRowAttributes()
Clears the list cell attributes at each row. |
void |
clearSelection()
Clears the selection - after calling this method isSelectionEmpty will return true. |
static java.util.Hashtable |
convertAttributesArrayToTable(java.lang.Object[][] attributesArray)
Converts the Object array contains the cell attributes into Hashtable. |
static java.lang.Object[][] |
convertAttributesTableToArray(java.util.Hashtable attributesTable)
Converts the Hashtable contains the cell attributes into Object array. |
protected JFCList |
createJFCList()
Creates a JFCList with a default data model |
protected JFCList |
createJFCList(javax.swing.ListModel aModel)
Creates a JFCList that takes it's items from an existing ListModel |
protected JFCList |
createJFCList(java.lang.Object[] items)
Creates a JFCList that contains the elements in the specified array |
protected JFCList |
createJFCList(java.util.Vector items)
Creates a JFCList that contains the elements in the specified Vector |
void |
ensureIndexIsVisible(int index)
Scrolls the viewport to make the specified cell completely visible. |
int |
getAnchorSelectionIndex()
Returns the first index argument from the most recent addSelectionModel or setSelectionInterval call. |
java.awt.Color |
getCellBackgroundNonSelectionColor(int row)
Returns the cell background non selection color at given row |
java.awt.Color |
getCellBackgroundSelectionColor(int row)
Returns the cell background selection color at given row |
java.awt.Color |
getCellBorderSelectionColor(int row)
Returns the cell border selection color at given row |
java.awt.Rectangle |
getCellBounds(int index0,
int index1)
Returns the bounds of the specified range of items in JList coordinates. |
java.awt.Font |
getCellFont(int row)
Returns the cell font at given row |
javax.swing.Icon |
getCellIcon(int row)
Returns the cell icon at given row |
java.lang.String |
getCellIconPath(int row)
Returns the cell icon path at given row |
javax.swing.ListCellRenderer |
getCellRenderer()
Returns the object that renders the list items. |
javax.swing.ListCellRenderer |
getCellRenderer(int row)
Returns the cell renderer at given row |
java.awt.Color |
getCellTextNonSelectionColor(int row)
Returns the cell text non selection color at given row |
java.awt.Color |
getCellTextSelectionColor(int row)
Returns the cell text selection color at given row |
ListCellAttributes |
getDefaultAttributes()
Gets the default list cell attributes for each row in the list, |
java.awt.Color |
getDefaultBackgroundNonSelectionColor()
Gets the default deselected background color |
java.awt.Color |
getDefaultBackgroundSelectionColor()
Gets the default selected background color |
java.awt.Color |
getDefaultBorderSelectionColor()
Gets the default selected border color |
javax.swing.ListCellRenderer |
getDefaultCellRenderer()
Gets the default cell renderer |
java.awt.Color |
getDefaultFocusCellBackground()
Gets the default focus cell background |
java.awt.Color |
getDefaultFocusCellForeground()
Gets the default focus cell foreground |
java.awt.Font |
getDefaultFont()
Gets the default cell font |
javax.swing.Icon |
getDefaultIcon()
Gets the default icon |
java.lang.String |
getDefaultIconPath()
Gets the default icon path |
java.awt.Color |
getDefaultTextNonSelectionColor()
Gets the default deselected text color |
java.awt.Color |
getDefaultTextSelectionColor()
Gets the default selected text color |
int |
getFirstVisibleIndex()
Returns the index of the cell in the upper left corner of the JList or -1 if nothing is visible or the list is empty. |
int |
getFixedCellHeight()
Returns the fixed cell height value -- the value specified by setting the fixedCellHeight property, rather than that calculated from the list elements. |
int |
getFixedCellWidth()
Returns the fixed cell width value -- the value specified by setting the fixedCellWidth property, rather than that calculated from the list elements. |
java.awt.Color |
getFocusCellBackground(int row)
Returns the cell focus background color at given row |
java.awt.Color |
getFocusCellForeground(int row)
Returns the cell focus foreground color at given row |
java.lang.Object |
getItemAt(int index)
Gets the item at specified index |
int |
getItemCount()
Gets the total number of items in the list |
int |
getLastVisibleIndex()
Returns the index of the cell in the lower right corner of the JList or -1 if nothing is visible or the list is empty. |
int |
getLeadSelectionIndex()
Returns the second index argument from the most recent addSelectionInterval or setSelectionInterval call. |
java.lang.String |
getLicenseKey()
Gets the license key |
java.util.Vector |
getListData()
Gets the items from the list model |
java.util.Locale |
getLocale()
Returns the value of locale. |
int |
getMaxSelectionIndex()
Returns the largest selected cell index. |
int |
getMinSelectionIndex()
Returns the smallest selected cell index. |
javax.swing.ListModel |
getModel()
Returns the data model that holds the list of items displayed by the JList component. |
java.awt.Dimension |
getPreferredScrollableViewportSize()
Computes the size of the viewport needed to display visibleRowCount rows. |
java.awt.Dimension |
getPreferredSize()
Gets the preferred size of this component. |
java.lang.Object |
getPrototypeCellValue()
Returns the cell width of the "prototypical cell" -- a cell used for the calculation of cell widths, because it has the same value as all other list items. |
java.util.Hashtable |
getRowAttributes()
Gets the cell attributes at each row of the list |
ListCellAttributes |
getRowAttributes(int row)
Gets the cell attributes at specified row of the list |
java.awt.Color |
getRowBackgroundNonSelectionColor(int row)
Gets the deselected background color at row |
java.awt.Color |
getRowBackgroundSelectionColor(int row)
Gets the selected background color at row |
java.awt.Color |
getRowBorderSelectionColor(int row)
Gets the selected border color at row |
javax.swing.ListCellRenderer |
getRowCellRenderer(int row)
Gets the cell renderer at row |
java.awt.Color |
getRowFocusCellBackground(int row)
Gets the focus cell background at row |
java.awt.Color |
getRowFocusCellForeground(int row)
Gets the focus cell foreground at row |
java.awt.Font |
getRowFont(int row)
Gets the cell font at row |
javax.swing.Icon |
getRowIcon(int row)
Gets the icon at row |
java.lang.String |
getRowIconPath(int row)
Gets the icon path at row |
java.awt.Color |
getRowTextNonSelectionColor(int row)
Gets the deselected text color at row |
java.awt.Color |
getRowTextSelectionColor(int row)
Gets the selected text color at row |
int |
getScrollableBlockIncrement(java.awt.Rectangle visibleRect,
int orientation,
int direction)
Returns the block increment amount. |
boolean |
getScrollableTracksViewportHeight()
Returns true if this JList is displayed in a JViewport and the viewport is taller than JList's preferred height; otherwise returns false. |
boolean |
getScrollableTracksViewportWidth()
Returns true if this JList is displayed in a JViewport and the viewport is wider than JList's preferred width; otherwise returns false. |
int |
getScrollableUnitIncrement(java.awt.Rectangle visibleRect,
int orientation,
int direction)
Returns the distance to scroll to expose the next or previous row (for vertical scrolling) or character (for horizontal scrolling). |
int |
getSelectedIndex()
Returns the first selected index; returns -1 if there is no selected item. |
int[] |
getSelectedIndices()
Returns an array of all of the selected indices in increasing order. |
java.lang.String |
getSelectedItem()
Gets the selected item |
java.lang.Object |
getSelectedValue()
Returns the first selected value, or null if the selection is empty. |
java.lang.Object[] |
getSelectedValues()
Returns an array of the values for the selected cells. |
java.awt.Color |
getSelectionBackground()
Returns the background color for selected cells. |
java.awt.Color |
getSelectionForeground()
Returns the selection foreground color. |
int |
getSelectionMode()
Returns whether single-item or multiple-item selections are allowed. |
javax.swing.ListSelectionModel |
getSelectionModel()
Returns the value of the current selection model. |
int |
getSortedList()
Gets the sorting criteria |
boolean |
getValueIsAdjusting()
Returns the value of the data model's isAdjusting property. |
int |
getVisibleRowCount()
Returns the preferred number of visible rows. |
java.awt.Point |
indexToLocation(int index)
Returns the origin of the specified item in JList coordinates. |
void |
insertItemAt(java.lang.Object item,
int index)
Inserts the specified item at the specified index |
boolean |
isDragEnabled()
Gets true if row can be dragged in the list |
boolean |
isLightweight()
Returns whether this component has a lightweight peer, native peer or no peer. |
boolean |
isSelectedIndex(int index)
Returns true if the specified index is selected. |
boolean |
isSelectionEmpty()
Returns true if nothing is selected. |
int |
locationToIndex(java.awt.Point location)
Converts a point in JList coordinates to the index of the cell at that location. |
void |
moveItem(int oldIndex,
int newIndex)
Moves the item |
protected java.lang.String |
paramString()
Returns a string representation of this JList. |
void |
readExternal(java.io.ObjectInput in)
Externalizable interface implementation to save and retrieve the state of this bean |
void |
removeAllItems()
Removes the all items from the list |
void |
removeFocusListener(java.awt.event.FocusListener l)
Removes the specified focus listener so that it no longer receives focus events from this component. |
void |
removeItem(java.lang.Object item)
Removes the specified item from the list |
void |
removeItemAt(int index)
Removes the item at specified index from the list |
void |
removeKeyListener(java.awt.event.KeyListener l)
|
void |
removeListSelectionListener(javax.swing.event.ListSelectionListener listener)
Removes a listener from the list that's notified each time a change to the selection occurs. |
void |
removeMouseListener(java.awt.event.MouseListener l)
|
void |
removeMouseMotionListener(java.awt.event.MouseMotionListener l)
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list. |
void |
removeSelectionInterval(int index0,
int index1)
Sets the selection to be the set difference of the specified interval and the current selection. |
boolean |
selectWithKeyChar(char keyChar)
Selects the list item that correponds to the specified keyboard character and returns true, if there is an item corresponding to that character. |
void |
setAutoscrolls(boolean b)
Sets whether this component will automatically scroll its contents when dragged, if contained in a component that supports scrolling |
void |
setBackground(java.awt.Color c)
Sets the Background color. |
void |
setBorder(javax.swing.border.Border b)
Sets the border of this component. |
void |
setBounds(int x,
int y,
int width,
int height)
Moves and resizes this bean. |
void |
setCellRenderer(javax.swing.ListCellRenderer cellRenderer)
Sets the delegate that's used to paint each cell in the list. |
void |
setCursor(java.awt.Cursor c)
Sets value of the cursor. |
void |
setDefaultAttributes(ListCellAttributes defaultAttributes)
Sets the default list cell attributes for each row in the list, it can be applicable if the row wise list cell attributes are not set. |
void |
setDefaultBackgroundNonSelectionColor(java.awt.Color color)
Sets the default deselected background color |
void |
setDefaultBackgroundSelectionColor(java.awt.Color color)
Sets the default selected background color |
void |
setDefaultBorderSelectionColor(java.awt.Color color)
Sets the default selected border color |
void |
setDefaultCellRenderer(javax.swing.ListCellRenderer renderer)
Sets the default cell renderer |
void |
setDefaultFocusCellBackground(java.awt.Color color)
Sets the default focus cell background |
void |
setDefaultFocusCellForeground(java.awt.Color color)
Sets the default focus cell foreground |
void |
setDefaultFont(java.awt.Font font)
Sets the default cell font |
void |
setDefaultIcon(javax.swing.Icon icon)
Sets default the icon |
void |
setDefaultIconPath(java.lang.String path)
Sets the default icon path |
void |
setDefaultTextNonSelectionColor(java.awt.Color color)
Sets the default deselected text color |
void |
setDefaultTextSelectionColor(java.awt.Color color)
Sets the deafult selected text color |
void |
setDoubleBuffered(boolean b)
Sets whether the receiving component should use a buffer to paint. |
void |
setDragEnabled(boolean b)
Sets true if row can be dragged in the list Dragged row is moved to dragged position |
void |
setEnabled(boolean b)
sets Enablity. |
void |
setFixedCellHeight(int height)
Sets the height of every cell in the list. |
void |
setFixedCellWidth(int width)
Sets the width of every cell in the list. |
void |
setFont(java.awt.Font f)
Sets the font. |
void |
setForeground(java.awt.Color c)
Sets the Foreground color. |
void |
setItemAt(java.lang.Object item,
int index)
Sets the specified item at specified index in the list |
void |
setLicenseKey(java.lang.String key)
Sets the license key |
void |
setLightweight(boolean b)
Sets whether this component has a lightweight peer, native peer or no peer. |
void |
setListData(java.lang.Object[] listData)
Constructs a ListModel from an array of objects and then applies setModel to it. |
void |
setListData(java.util.Vector listData)
Constructs a ListModel from a Vector and then applies setModel to it. |
void |
setLocale(java.util.Locale l)
Sets value of the locale. |
void |
setModel(javax.swing.ListModel model)
Sets the model that represents the contents or "value" of the list and clears the list selection after notifying PropertyChangeListeners. |
void |
setOpaque(boolean b)
Sets whether this component paints every pixel within its bounds. |
void |
setPrototypeCellValue(java.lang.Object prototypeCellValue)
Computes the fixedCellWidth and fixedCellHeight properties by configuring the cellRenderer to index equals zero for the specified value and then computing the renderer component's preferred size. |
void |
setRequestFocusEnabled(boolean b)
Sets whether the receiving component can obtain the focus by calling requestFocus. |
void |
setRowAttributes(java.util.Hashtable attributesTable)
Sets the cell attributes at each row of the list, It has the maximum priority. |
void |
setRowAttributes(ListCellAttributes rowAttributes,
int row)
Sets the cell attributes at specified row of the list |
void |
setRowBackgroundNonSelectionColor(java.awt.Color color,
int row)
Sets the deselected background color at row |
void |
setRowBackgroundSelectionColor(java.awt.Color color,
int row)
Sets the selected background color at row |
void |
setRowBorderSelectionColor(java.awt.Color color,
int row)
Sets the selected border color at row |
void |
setRowCellRenderer(javax.swing.ListCellRenderer renderer,
int row)
Sets the cell renderer at row |
void |
setRowFocusCellBackground(java.awt.Color color,
int row)
Sets the focus cell background at row |
void |
setRowFocusCellForeground(java.awt.Color color,
int row)
Sets the focus cell foreground at row |
void |
setRowFont(java.awt.Font font,
int row)
Sets the cell font at row |
void |
setRowIcon(javax.swing.Icon icon,
int row)
Sets the icon at row |
void |
setRowIconPath(java.lang.String path,
int row)
Sets the icon path at row |
void |
setRowTextNonSelectionColor(java.awt.Color color,
int row)
Sets the deselected text color at row |
void |
setRowTextSelectionColor(java.awt.Color color,
int row)
Sets the selected text color at row |
void |
setSelectedIndex(int index)
Selects a single cell. |
void |
setSelectedIndices(int[] indices)
Selects a set of cells. |
void |
setSelectedItem(java.lang.String s)
Sets the item selected |
void |
setSelectedValue(java.lang.Object anObject,
boolean shouldScroll)
Selects the specified object from the list. |
void |
setSelectionBackground(java.awt.Color selectionBackground)
Sets the background color for selected cells. |
void |
setSelectionForeground(java.awt.Color selectionForeground)
Sets the foreground color for selected cells. |
void |
setSelectionInterval(int anchor,
int lead)
Selects the specified interval. |
void |
setSelectionMode(int selectionMode)
Determines whether single-item or multiple-item selections are allowed. |
void |
setSelectionModel(javax.swing.ListSelectionModel selectionModel)
Sets the selectionModel for the list to a non-null ListSelectionModel implementation. |
void |
setSortedList(int i)
Sets the sorting criteria |
void |
setToolTipText(java.lang.String s)
Sets the text to display in a tool tip. |
void |
setValueIsAdjusting(boolean b)
Sets the data model's isAdjusting property to true, so that a single event will be generated when all of the selection events have finished (for example, when the mouse is being dragged over the list in selection mode). |
void |
setVisible(boolean b)
sets Visiblity. |
void |
setVisibleRowCount(int visibleRowCount)
Sets the preferred number of rows in the list that can be displayed without a scollbar, as determined by the nearest JViewport ancestor, if any. |
boolean |
valueExists(java.lang.String s)
Determines whether the specified value is exist in the list model. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class javax.swing.JScrollPane |
createHorizontalScrollBar, createVerticalScrollBar, createViewport, getAccessibleContext, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getUI, getUIClassID, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorder, getViewportBorderBounds, isValidateRoot, isWheelScrollingEnabled, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportBorder, setViewportView, setWheelScrollingEnabled, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setDebugGraphicsOptions, setDefaultLocale, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setPreferredSize, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, 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 |
| Field Detail |
protected transient JFCList m_jfcList
| Constructor Detail |
public JFCListPanel()
public JFCListPanel(javax.swing.ListModel dataModel)
public JFCListPanel(java.lang.Object[] listData)
public JFCListPanel(java.util.Vector listData)
| Method Detail |
protected JFCList createJFCList()
protected JFCList createJFCList(javax.swing.ListModel aModel)
aModel - the ListModel that provides the displayed list of itemsprotected JFCList createJFCList(java.lang.Object[] items)
items - an array of objects to insert into the listprotected JFCList createJFCList(java.util.Vector items)
items - a vector of items to insert into the listpublic void setLicenseKey(java.lang.String key)
public java.lang.String getLicenseKey()
public void setDefaultAttributes(ListCellAttributes defaultAttributes)
public ListCellAttributes getDefaultAttributes()
public void setDefaultTextSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultTextSelectionColor()
public void setDefaultTextNonSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultTextNonSelectionColor()
public void setDefaultBackgroundSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultBackgroundSelectionColor()
public void setDefaultBackgroundNonSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultBackgroundNonSelectionColor()
public void setDefaultBorderSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultBorderSelectionColor()
public void setDefaultFocusCellBackground(java.awt.Color color)
public java.awt.Color getDefaultFocusCellBackground()
public void setDefaultFocusCellForeground(java.awt.Color color)
public java.awt.Color getDefaultFocusCellForeground()
public void setDefaultFont(java.awt.Font font)
public java.awt.Font getDefaultFont()
public void setDefaultIcon(javax.swing.Icon icon)
public javax.swing.Icon getDefaultIcon()
public void setDefaultIconPath(java.lang.String path)
public java.lang.String getDefaultIconPath()
public void setDefaultCellRenderer(javax.swing.ListCellRenderer renderer)
public javax.swing.ListCellRenderer getDefaultCellRenderer()
public void setRowAttributes(java.util.Hashtable attributesTable)
public java.util.Hashtable getRowAttributes()
public void clearRowAttributes()
public void setRowAttributes(ListCellAttributes rowAttributes,
int row)
public ListCellAttributes getRowAttributes(int row)
public void setRowTextSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowTextSelectionColor(int row)
public void setRowTextNonSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowTextNonSelectionColor(int row)
public void setRowBackgroundSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowBackgroundSelectionColor(int row)
public void setRowBackgroundNonSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowBackgroundNonSelectionColor(int row)
public void setRowBorderSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowBorderSelectionColor(int row)
public void setRowFocusCellBackground(java.awt.Color color,
int row)
public java.awt.Color getRowFocusCellBackground(int row)
public void setRowFocusCellForeground(java.awt.Color color,
int row)
public java.awt.Color getRowFocusCellForeground(int row)
public void setRowFont(java.awt.Font font,
int row)
public java.awt.Font getRowFont(int row)
public void setRowIcon(javax.swing.Icon icon,
int row)
public javax.swing.Icon getRowIcon(int row)
public void setRowIconPath(java.lang.String path,
int row)
public java.lang.String getRowIconPath(int row)
public void setRowCellRenderer(javax.swing.ListCellRenderer renderer,
int row)
public javax.swing.ListCellRenderer getRowCellRenderer(int row)
public java.awt.Color getCellBackgroundSelectionColor(int row)
public java.awt.Color getCellBackgroundNonSelectionColor(int row)
public java.awt.Color getCellTextSelectionColor(int row)
public java.awt.Color getCellTextNonSelectionColor(int row)
public java.awt.Color getCellBorderSelectionColor(int row)
public java.awt.Color getFocusCellBackground(int row)
public java.awt.Color getFocusCellForeground(int row)
public java.awt.Font getCellFont(int row)
public javax.swing.Icon getCellIcon(int row)
public java.lang.String getCellIconPath(int row)
public javax.swing.ListCellRenderer getCellRenderer(int row)
public static java.lang.Object[][] convertAttributesTableToArray(java.util.Hashtable attributesTable)
public static java.util.Hashtable convertAttributesArrayToTable(java.lang.Object[][] attributesArray)
public java.util.Vector getListData()
public void setSelectedItem(java.lang.String s)
public java.lang.String getSelectedItem()
public void setSortedList(int i)
public int getSortedList()
public boolean valueExists(java.lang.String s)
public void addItem(java.lang.Object item)
public java.lang.Object getItemAt(int index)
public int getItemCount()
public void insertItemAt(java.lang.Object item,
int index)
public void removeAllItems()
public void removeItem(java.lang.Object item)
public void removeItemAt(int index)
public void setItemAt(java.lang.Object item,
int index)
public void moveItem(int oldIndex,
int newIndex)
public void setDragEnabled(boolean b)
public boolean isDragEnabled()
public boolean selectWithKeyChar(char keyChar)
public void addListSelectionListener(javax.swing.event.ListSelectionListener listener)
public void addSelectionInterval(int anchor,
int lead)
public void clearSelection()
public void ensureIndexIsVisible(int index)
public int getAnchorSelectionIndex()
public java.awt.Rectangle getCellBounds(int index0,
int index1)
public javax.swing.ListCellRenderer getCellRenderer()
public int getFirstVisibleIndex()
public int getFixedCellHeight()
public int getFixedCellWidth()
public int getLastVisibleIndex()
public int getLeadSelectionIndex()
public int getMaxSelectionIndex()
public int getMinSelectionIndex()
public javax.swing.ListModel getModel()
public java.awt.Dimension getPreferredScrollableViewportSize()
public java.lang.Object getPrototypeCellValue()
public int getScrollableBlockIncrement(java.awt.Rectangle visibleRect,
int orientation,
int direction)
public boolean getScrollableTracksViewportHeight()
public boolean getScrollableTracksViewportWidth()
public int getScrollableUnitIncrement(java.awt.Rectangle visibleRect,
int orientation,
int direction)
public int getSelectedIndex()
public int[] getSelectedIndices()
public java.lang.Object getSelectedValue()
public java.lang.Object[] getSelectedValues()
public java.awt.Color getSelectionBackground()
public java.awt.Color getSelectionForeground()
public int getSelectionMode()
public javax.swing.ListSelectionModel getSelectionModel()
public boolean getValueIsAdjusting()
public int getVisibleRowCount()
public java.awt.Point indexToLocation(int index)
public boolean isSelectedIndex(int index)
public boolean isSelectionEmpty()
public int locationToIndex(java.awt.Point location)
protected java.lang.String paramString()
public void removeListSelectionListener(javax.swing.event.ListSelectionListener listener)
public void removeSelectionInterval(int index0,
int index1)
public void setCellRenderer(javax.swing.ListCellRenderer cellRenderer)
public void setFixedCellHeight(int height)
public void setFixedCellWidth(int width)
public void setListData(java.lang.Object[] listData)
public void setListData(java.util.Vector listData)
public void setModel(javax.swing.ListModel model)
public void setPrototypeCellValue(java.lang.Object prototypeCellValue)
public void setSelectedIndex(int index)
public void setSelectedIndices(int[] indices)
public void setSelectedValue(java.lang.Object anObject,
boolean shouldScroll)
public void setSelectionBackground(java.awt.Color selectionBackground)
public void setSelectionForeground(java.awt.Color selectionForeground)
public void setSelectionInterval(int anchor,
int lead)
public void setSelectionMode(int selectionMode)
public void setSelectionModel(javax.swing.ListSelectionModel selectionModel)
public void setValueIsAdjusting(boolean b)
public void setVisibleRowCount(int visibleRowCount)
public void setLightweight(boolean b)
b - true if this component has a lightweight peer; false if it has a native peer or no peer.public boolean isLightweight()
public void setOpaque(boolean b)
b - true if this component paints every pixel within its bounds.public void setToolTipText(java.lang.String s)
public void setDoubleBuffered(boolean b)
b - if true, all the drawing from this component will be done
in an offscreen painting buffer. The offscreen painting buffer will
the be copied onto the screen.public void setBorder(javax.swing.border.Border b)
b - the border to be rendered for this componentpublic void setAutoscrolls(boolean b)
b - if true, this component will automatically scroll its contents when draggedpublic void setRequestFocusEnabled(boolean b)
b - if true the receiving component can obtain the focus by calling requestFocuspublic void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - the PropertyChangeListener to be addedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - the PropertyChangeListener to be removed
public void setBounds(int x,
int y,
int width,
int height)
x - x-coordinate of this bean.y - y-coordinate of this bean.width - the new width of this bean.height - the new height of this bean.public void setForeground(java.awt.Color c)
public void setBackground(java.awt.Color c)
public void setFont(java.awt.Font f)
public void setVisible(boolean b)
b - flag representing visibility of bean.public void setEnabled(boolean b)
b - flag representing enability of bean.public void setLocale(java.util.Locale l)
l - current value of the locale.public java.util.Locale getLocale()
public void setCursor(java.awt.Cursor c)
c - current value of the cursor.public java.awt.Dimension getPreferredSize()
public void addFocusListener(java.awt.event.FocusListener l)
l - the focus listenerpublic void removeFocusListener(java.awt.event.FocusListener l)
l - the focus listenerpublic void addKeyListener(java.awt.event.KeyListener l)
l - the key listener.public void removeKeyListener(java.awt.event.KeyListener l)
public void addMouseListener(java.awt.event.MouseListener l)
public void removeMouseListener(java.awt.event.MouseListener l)
public void addMouseMotionListener(java.awt.event.MouseMotionListener l)
public void removeMouseMotionListener(java.awt.event.MouseMotionListener l)
public void readExternal(java.io.ObjectInput in)
throws java.lang.ClassNotFoundException,
java.io.IOException
readExternal in interface java.io.Externalizablejava.lang.ClassNotFoundException
java.io.IOException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
|
ElegantJ Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||