|
||||||||||
| 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.sibvisions.rad.ui.swing.ext.JVxScrollPane
com.sibvisions.rad.ui.swing.ext.JVxTable
public class JVxTable
Scrollable JTable that implements ITableControl interface.
| Nested Class Summary | |
|---|---|
static class |
JVxTable.CellEditorPane
CellEditorPane provides different editor sizes as the cell has. |
static class |
JVxTable.DataBookTableColumnModel
Implements the JTable model interfaces with the given IDataBook. |
static class |
JVxTable.DataBookTableModel
Implements the TableModel interfaces with the given IDataBook. |
static class |
JVxTable.GenericTableCellHandler
The GenericTableCellEditor is a wrapper, that provides ICellEditor functionality. |
static class |
JVxTable.StrikeThroughEmptyBorder
EmptyBorder with strike through functionality. |
static class |
JVxTable.StrikeThroughLineBorder
LineBorder with strike through functionality. |
| Nested classes/interfaces inherited from class javax.swing.JScrollPane |
|---|
javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary |
|---|
| 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.rad.ui.control.INavigationControl |
|---|
NAVIGATION_CELL_AND_FOCUS, NAVIGATION_CELL_AND_ROW_AND_FOCUS, NAVIGATION_NONE, NAVIGATION_ROW_AND_FOCUS |
| Fields inherited from interface javax.rad.model.ui.ICellEditorListener |
|---|
ACTION_KEY, ENTER_KEY, ESCAPE_KEY, FOCUS_LOST, SHIFT_ENTER_KEY, SHIFT_TAB_KEY, TAB_KEY |
| 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 | |
|---|---|
JVxTable()
Constructs a JVxTable. |
|
| Method Summary | |
|---|---|
void |
addNotify()
|
void |
cancelEditing()
Informs the GUI control, that the last edit should be canceled(restored) the correct value is in the DataBook. |
protected JVxTable.GenericTableCellHandler |
createTableCellHandler(java.lang.String pColumnName)
Creates the generic cell handler for a specific column. |
void |
dataBookChanged(DataBookEvent pDataBookEvent)
Notifies that an IDataBook is changed. |
protected void |
doRepaint()
Repaints the table and updates the selection. |
void |
editingComplete(java.lang.String pCompleteType)
Informs the ICellEditorListener that the editing is completed. |
void |
editingStarted()
Informs the ICellEditorListener that the editing has started. |
void |
focusGained(java.awt.event.FocusEvent pFocusEvent)
|
void |
focusLost(java.awt.event.FocusEvent pFocusEvent)
|
ICellEditorHandler<javax.swing.JComponent> |
getCellEditorHandler()
The current used CellEditor for editing. |
ICellFormatter |
getCellFormatter()
Gets the CellFormatter. |
ColumnView |
getColumnView()
Returns the ColumnView displayed by this control. |
IControl |
getControl()
Get's the control corresponding to this cell editor listener. |
IDataBook |
getDataBook()
Returns the DataBook displayed by this control. |
int |
getEnterNavigationMode()
Gets the ENTER navigation mode. |
javax.swing.JTable |
getJTable()
Gets the JTable used by JVxTable. |
int |
getMaxRowHeight()
Gets the maximal row height. |
int |
getMinRowHeight()
Gets the minimal row height. |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size in a bit different way as JScrollPane. |
int |
getRowHeight()
Get the row height. |
int |
getTabNavigationMode()
Gets the ENTER navigation mode. |
TranslationMap |
getTranslation()
Gets the possible translation mapping. |
boolean |
isAutoFillEmptySpace()
Gets true, empty space is automatically filled with existing columns. |
boolean |
isAutoResize()
Gets true, if the JVxTable is in auto resize mode. |
boolean |
isEditable()
Gets if editable or not. |
protected boolean |
isIgnoreEvent()
True, if events should be ignored. |
boolean |
isMouseEventOnSelectedCell()
True, if the mouse event occured on current selected cell. |
boolean |
isNotified()
True, if this component is added in the component tree of a viewable root container (window or applet). |
boolean |
isSavingImmediate()
Tells whether the CellEditor should save immediate. |
boolean |
isShowFocusRect()
Gets if showing the focus rect or not. |
boolean |
isShowSelection()
Gets if showing the selection or not. |
boolean |
isSortOnHeaderEnabled()
Gets true, if it is possible sorting the data by clicking on the header. |
boolean |
isTableHeaderVisible()
Gets the visibility of the table header. |
boolean |
isTranslationEnabled()
Gets whether the translation is en- or disabled. |
void |
keyPressed(java.awt.event.KeyEvent pKeyEvent)
|
void |
keyReleased(java.awt.event.KeyEvent pKeyEvent)
|
void |
keyTyped(java.awt.event.KeyEvent pKeyEvent)
|
void |
mousePressed(java.awt.event.MouseEvent pMouseEvent)
|
void |
mouseReleased(java.awt.event.MouseEvent pMouseEvent)
|
void |
notifyRepaint()
The control need to check if the part is visible and then repaint the part. |
void |
openComboBox()
Opens the combo box, if possible. |
void |
removeNotify()
|
void |
reshape(int pX,
int pY,
int pWidth,
int pHeight)
Deprecated. |
void |
run()
The run method is invoked from AWT EventQueue. |
void |
saveEditing()
Informs the GUI control, that the last edit should be set into the IDataBook or IDataRow. |
void |
scrollToSelectedCell()
Scrolls the selected Cell in the visible Region of the JVxTable. |
void |
selectNext(int pNavigationMode)
Selects the next. |
void |
selectNextCell(boolean pDelegateFocus)
Selects the next cell. |
void |
selectNextCellAndRow(boolean pDelegateFocus)
Selects the next cell and row. |
void |
selectNextPage(boolean pDelegateFocus)
Selects the next row. |
void |
selectNextRow(boolean pDelegateFocus)
Selects the next row. |
void |
selectPrevious(int pNavigationMode)
Selects the next. |
void |
selectPreviousCell(boolean pDelegateFocus)
Selects the previous cell. |
void |
selectPreviousCellAndRow(boolean pDelegateFocus)
Selects the previous cell and row. |
void |
selectPreviousPage(boolean pDelegateFocus)
Selects the previous cell. |
void |
selectPreviousRow(boolean pDelegateFocus)
Selects the previous cell. |
void |
setAutoFillEmptySpace(boolean pAutoFillEmptySpace)
Set true, empty space is automatically filled with existing columns. |
void |
setAutoResize(boolean pAutoResize)
Sets true, if the JVxTable is in auto resize mode. |
void |
setBackground(java.awt.Color pColor)
Sets the background of the table and the viewport. |
protected void |
setCellEditorHandler(ICellEditorHandler pCellEditorHandler)
Sets the current used ICellEditorHandler for editing. |
void |
setCellFormatter(ICellFormatter pCellFormatter)
Sets the CellFormatter. |
void |
setColumnView(ColumnView pColumnView)
Sets the ColumnView displayed by this control. |
void |
setDataBook(IDataBook pDataBook)
Sets the DataBook displayed by this control. |
void |
setEditable(boolean pEditable)
Sets if editable or not. |
void |
setEnabled(boolean pEnabled)
|
void |
setEnterNavigationMode(int pNavigationMode)
Sets the ENTER navigation mode. |
protected void |
setIgnoreEvent(boolean pIgnoreEvent)
True, if events should be ignored. |
void |
setMaxRowHeight(int pMaxRowHeight)
Set the maximal row height. |
void |
setMinRowHeight(int pMinRowHeight)
Set the minimal row height. |
void |
setRowHeight(int pRowHeight)
Set the row height. |
void |
setShowFocusRect(boolean pShowFocusRect)
Sets if showing the focus rect or not. |
void |
setShowSelection(boolean pShowSelection)
Sets if showing the selection or not. |
void |
setSortOnHeaderEnabled(boolean pSortOnHeaderEnabled)
Set true, if it should possible sorting the data by clicking on the header. |
void |
setTableHeaderVisible(boolean pTableHeaderVisible)
Sets the visibility of the table header. |
void |
setTabNavigationMode(int pNavigationMode)
Sets the ENTER navigation mode. |
void |
setTranslation(TranslationMap pTranslation)
Sets the possible translations. |
void |
setTranslationEnabled(boolean pEnabled)
Sets the translation en- or disabled. |
void |
startEditing()
Informs the GUI control, that the editor should be opened. |
java.lang.String |
translate(java.lang.String pText)
Method to translate a given text. |
void |
valueChanged(javax.swing.event.ListSelectionEvent pListSelectionEvent)
|
void |
valuesChanged(DataRowEvent pDataRowEvent)
Notifies that values on an IDataBook are changed. |
| Methods inherited from class com.sibvisions.rad.ui.swing.ext.JVxScrollPane |
|---|
getPreferredComponentSize, getViewportView, mouseClicked, mouseEntered, mouseExited, setViewport |
| 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, paramString, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewportBorder, setViewportView, setWheelScrollingEnabled, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, 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, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, 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, 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, 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, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, 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 |
| Constructor Detail |
|---|
public JVxTable()
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic void mousePressed(java.awt.event.MouseEvent pMouseEvent)
mousePressed in interface java.awt.event.MouseListenermousePressed in class JVxScrollPanepublic void mouseReleased(java.awt.event.MouseEvent pMouseEvent)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class JVxScrollPanepublic void valueChanged(javax.swing.event.ListSelectionEvent pListSelectionEvent)
valueChanged in interface javax.swing.event.ListSelectionListenerpublic void notifyRepaint()
notifyRepaint in interface IControlpublic void startEditing()
startEditing in interface ITableControlpublic void cancelEditing()
DataBook.
cancelEditing in interface IControl
public void saveEditing()
throws ModelException
IDataBook or IDataRow.
saveEditing in interface IControlModelException - if the value can not be stored.public void setTranslation(TranslationMap pTranslation)
setTranslation in interface ITranslatablepTranslation - the translation mappingpublic TranslationMap getTranslation()
getTranslation in interface ITranslatablepublic void setTranslationEnabled(boolean pEnabled)
setTranslationEnabled in interface ITranslatablepEnabled - true to enable the translation, false to disablepublic boolean isTranslationEnabled()
isTranslationEnabled in interface ITranslatabletrue if translation is performed, false otherwisepublic void keyPressed(java.awt.event.KeyEvent pKeyEvent)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent pKeyEvent)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent pKeyEvent)
keyTyped in interface java.awt.event.KeyListenerpublic void focusGained(java.awt.event.FocusEvent pFocusEvent)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent pFocusEvent)
focusLost in interface java.awt.event.FocusListenerpublic void dataBookChanged(DataBookEvent pDataBookEvent)
IDataBook is changed.
dataBookChanged in interface IDataBookListenerpDataBookEvent - gives information about the changed IDataBook.public void valuesChanged(DataRowEvent pDataRowEvent)
IDataBook are changed.
valuesChanged in interface IDataRowListenerpDataRowEvent - gives information about the changed IDataBook.public void editingStarted()
ICellEditorListener that the editing has started.
editingStarted in interface ICellEditorListenerpublic void editingComplete(java.lang.String pCompleteType)
ICellEditorListener that the editing is completed.
editingComplete in interface ICellEditorListenerpCompleteType - the type of completion.public boolean isSavingImmediate()
isSavingImmediate in interface ICellEditorListenerpublic IControl getControl()
getControl in interface ICellEditorListenerpublic void addNotify()
addNotify in class javax.swing.JComponentpublic void removeNotify()
removeNotify in class javax.swing.JComponentpublic java.awt.Dimension getPreferredSize()
getPreferredSize in class JVxScrollPanepublic void setBackground(java.awt.Color pColor)
setBackground in class javax.swing.JComponentpColor - the background colorpublic void setEnabled(boolean pEnabled)
setEnabled in class javax.swing.JComponent
@Deprecated
public void reshape(int pX,
int pY,
int pWidth,
int pHeight)
reshape in class javax.swing.JComponentpublic boolean isNotified()
protected boolean isIgnoreEvent()
protected void setIgnoreEvent(boolean pIgnoreEvent)
pIgnoreEvent - True, if events should be ignored.public IDataBook getDataBook()
getDataBook in interface ITableControlsetDataBook(javax.rad.model.IDataBook)public void setDataBook(IDataBook pDataBook)
setDataBook in interface ITableControlpDataBook - the DataBookgetDataBook()public ColumnView getColumnView()
ColumnView displayed by this control. If null is set,
the default column view from the data book is returned.
setColumnView(javax.rad.model.ColumnView)public void setColumnView(ColumnView pColumnView)
pColumnView - the column viewgetColumnView()public ICellFormatter getCellFormatter()
getCellFormatter in interface ICellFormatterEditorListenersetCellFormatter(com.sibvisions.rad.ui.swing.ext.format.ICellFormatter)public void setCellFormatter(ICellFormatter pCellFormatter)
pCellFormatter - the CellFormattergetCellFormatter()public boolean isTableHeaderVisible()
public void setTableHeaderVisible(boolean pTableHeaderVisible)
pTableHeaderVisible - the visibility of the table header.public boolean isSortOnHeaderEnabled()
public void setSortOnHeaderEnabled(boolean pSortOnHeaderEnabled)
pSortOnHeaderEnabled - true, if it is possible sorting the data by clicking on the header.public boolean isAutoFillEmptySpace()
public void setAutoFillEmptySpace(boolean pAutoFillEmptySpace)
pAutoFillEmptySpace - true, empty space is automatically filled with existing columns.public int getEnterNavigationMode()
getEnterNavigationMode in interface INavigationControlINavigationControl.NAVIGATION_NONE,
INavigationControl.NAVIGATION_CELL_AND_FOCUS,
INavigationControl.NAVIGATION_CELL_AND_ROW_AND_FOCUS,
INavigationControl.NAVIGATION_ROW_AND_FOCUSpublic void setEnterNavigationMode(int pNavigationMode)
setEnterNavigationMode in interface INavigationControlpNavigationMode - the ENTER navigation mode.INavigationControl.NAVIGATION_NONE,
INavigationControl.NAVIGATION_CELL_AND_FOCUS,
INavigationControl.NAVIGATION_CELL_AND_ROW_AND_FOCUS,
INavigationControl.NAVIGATION_ROW_AND_FOCUSpublic int getTabNavigationMode()
getTabNavigationMode in interface INavigationControlINavigationControl.NAVIGATION_NONE,
INavigationControl.NAVIGATION_CELL_AND_FOCUS,
INavigationControl.NAVIGATION_CELL_AND_ROW_AND_FOCUS,
INavigationControl.NAVIGATION_ROW_AND_FOCUSpublic void setTabNavigationMode(int pNavigationMode)
setTabNavigationMode in interface INavigationControlpNavigationMode - the ENTER navigation mode.INavigationControl.NAVIGATION_NONE,
INavigationControl.NAVIGATION_CELL_AND_FOCUS,
INavigationControl.NAVIGATION_CELL_AND_ROW_AND_FOCUS,
INavigationControl.NAVIGATION_ROW_AND_FOCUSpublic int getRowHeight()
public void setRowHeight(int pRowHeight)
pRowHeight - the row height.public int getMinRowHeight()
public void setMinRowHeight(int pMinRowHeight)
pMinRowHeight - the minimal row height.public int getMaxRowHeight()
public void setMaxRowHeight(int pMaxRowHeight)
pMaxRowHeight - the maximal row height.public javax.swing.JTable getJTable()
public boolean isAutoResize()
public void setAutoResize(boolean pAutoResize)
pAutoResize - true, if the JVxTable is in auto resize mode.public ICellEditorHandler<javax.swing.JComponent> getCellEditorHandler()
protected void setCellEditorHandler(ICellEditorHandler pCellEditorHandler)
pCellEditorHandler - the current used ICellEditorHandler for editing.public void scrollToSelectedCell()
public void openComboBox()
public void selectNext(int pNavigationMode)
pNavigationMode - the navigation mode.public void selectPrevious(int pNavigationMode)
pNavigationMode - the navigation mode.public void selectNextCell(boolean pDelegateFocus)
pDelegateFocus - if true, after the last cell the next component is focused.public void selectPreviousCell(boolean pDelegateFocus)
pDelegateFocus - if true, after the first cell the previous component is focused.public void selectNextCellAndRow(boolean pDelegateFocus)
pDelegateFocus - if true, after the last cell the next component is focused.public void selectPreviousCellAndRow(boolean pDelegateFocus)
pDelegateFocus - if true, after the first cell the previous component is focused.public void selectNextRow(boolean pDelegateFocus)
pDelegateFocus - if true, after the last row the next component is focused.public void selectPreviousRow(boolean pDelegateFocus)
pDelegateFocus - if true, after the first cell the previous component is focused.public void selectNextPage(boolean pDelegateFocus)
pDelegateFocus - if true, after the last row the next component is focused.public void selectPreviousPage(boolean pDelegateFocus)
pDelegateFocus - if true, after the first cell the previous component is focused.protected void doRepaint()
public java.lang.String translate(java.lang.String pText)
translate in interface ITranslatorpText - the text to translate.
public boolean isEditable()
public void setEditable(boolean pEditable)
pEditable - if editable or not.public boolean isShowSelection()
public void setShowSelection(boolean pShowSelection)
pShowSelection - showing the selection or not.public boolean isShowFocusRect()
public void setShowFocusRect(boolean pShowFocusRect)
pShowFocusRect - showing the focus rect or not.public boolean isMouseEventOnSelectedCell()
protected JVxTable.GenericTableCellHandler createTableCellHandler(java.lang.String pColumnName)
pColumnName - the name of the column
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||