|
|||||||||||
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.JPanel
com.retek.commons.gui.widget.RPanel
com.retek.commons.gui.table.REntryRow
ENTRY ROW
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
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 |
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 | |
REntryRow()
Creates a new REntryRow object. |
|
REntryRow(RowProperties properties)
Creates a new REntry object with properties. |
Method Summary | |
java.awt.Component |
getColumnComponent(int column)
Retrieves the component at a specified column. |
int |
getColumnType(int column)
Retrieves the column type of the specified column. |
int |
getFocusedColumn()
Retrieves the focused column in the row. |
int[] |
getFocusedLocation()
Retrieves the location of the focus within the row. |
int |
getLevel()
Retrieves the level of the row. |
java.lang.Object |
getRowData()
Retrieves an object stored within the row. |
int |
getRowNumber()
Retrieves the row number of the REntryRow. |
java.lang.String |
getValueAt(int column)
Retrieves the string value at a specified column. |
java.lang.String[] |
getValues()
Retrieves the row values used to display information within the row. |
boolean |
isColumnTraversable(int column)
Retrieves whether or not a given column is traversable. |
boolean |
isPrimaryRow()
Retrieves whether or not this row is a primary row. |
boolean |
isSelectedAt(int column)
Retrieves whether or not a given column (if boolean type) is true or false. |
void |
keyPressed(java.awt.event.KeyEvent keyEvent)
Implements the KeyListener method. |
void |
keyReleased(java.awt.event.KeyEvent event)
The remaining key listener methods. |
void |
keyTyped(java.awt.event.KeyEvent event)
|
void |
performActionEvent(RActionEvent event)
Implements the REventListener method. |
void |
requestColumnFocus(int column)
The component location at the given column will request the focus. |
void |
requestFocus()
Override request focus to transfer the focus to the first widget of the row. |
void |
resizeColumns()
Reset the width of the columns to the given widths. |
void |
setComboValuesAt(int column,
java.util.Collection values)
Assigns an array of strings to choose from in the combo box at the given location. |
void |
setComboValuesAt(int column,
java.lang.String[] values)
Assigns an array of strings to choose from in the combo box at the given location. |
void |
setEnabledAt(int column,
boolean enabled)
Sets the component at the specifiedcolumn to enabled or disabled state. |
void |
setRowData(java.lang.Object object)
Assigns a generic object to be stored within the row. |
void |
setRowNumber(int row)
Assigns a row number to the REntryRow. |
void |
setSelectedAt(int column,
boolean selected)
Sets the selected state of the component at the specified column. |
void |
setValueAt(int column,
java.lang.String value)
Assigns the value at the particular location. |
void |
setValues(java.lang.String[] values)
Assigns data values to each column of the row The data comes from the parameter row where each index of the array matches the index of the column to display the string in. |
java.lang.String |
toString()
Returns string describing this entry row. |
Methods inherited from class com.retek.commons.gui.widget.RPanel |
addREventListener, getFocusCycleComponents, notifyREventListeners, notifyREventListeners, performErrorEvent, removeAllREventListeners, removeREventListener, repaintPanel, setEmptyBorder, setEmptyBorder, setFocusCycleComponents, setLineBorder, setLineBorder, setLoweredBevelBorder, setMinimumHeight, setRaisedBevelBorder, setTitleBorder, setTitleBorder, setTitleBorder, setTitleBorder |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, 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, getPreferredSize, 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, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, 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, 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, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, 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, isLightweight, 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, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public REntryRow()
public REntryRow(RowProperties properties)
properties
- An object containing all the properties for the row.Method Detail |
public void setRowNumber(int row)
row
- The row number.public int getRowNumber()
public int getLevel()
public boolean isPrimaryRow()
public java.awt.Component getColumnComponent(int column)
public int getColumnType(int column)
public void setRowData(java.lang.Object object)
object
- An object to store within the row.public java.lang.Object getRowData()
public void setValueAt(int column, java.lang.String value)
public void setEnabledAt(int column, boolean enabled)
column
- A column index.enabled
- True if the component should be enabled, false if not.public void setComboValuesAt(int column, java.lang.String[] values)
column
- The column index.values
- The array of strings to place in the combo box.public void setComboValuesAt(int column, java.util.Collection values)
column
- The column index.values
- The collection to place in the combo box.public boolean isSelectedAt(int column)
public void setSelectedAt(int column, boolean selected)
public java.lang.String getValueAt(int column)
public java.lang.String[] getValues()
public void setValues(java.lang.String[] values)
public void resizeColumns()
public void performActionEvent(RActionEvent event)
performActionEvent
in interface REventListener
performActionEvent
in class RPanel
event
- The RActionEvent that triggered this listener method.public void keyPressed(java.awt.event.KeyEvent keyEvent)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent event)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent event)
keyTyped
in interface java.awt.event.KeyListener
public int getFocusedColumn()
public int[] getFocusedLocation()
public void requestFocus()
public void requestColumnFocus(int column)
column
- The column index.public boolean isColumnTraversable(int column)
column
- The column index.
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |