|
||||||||||
| 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
org.tbee.swing.table.JTableNavigator
public class JTableNavigator
Adapted from CTableNavigator to fit JTableForEdit.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, 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 | |
|---|---|
JTableNavigator()
Constructs this panel with default properties. |
|
JTableNavigator(JTable table)
Constructs this panel and assignes the main parameters. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Performs actions from user interface. |
void |
focusGained(FocusEvent e)
Performs event when this table box gets a focus. |
void |
focusLost(FocusEvent e)
Performs event when this table box lost a focus. |
Color |
getIndexBackground()
the colow of the indexfield background |
JTable |
getTable()
Gets the related table control. |
void |
propertyChange(PropertyChangeEvent evt)
|
void |
setIndexBackground(Color c)
|
void |
setTable(JTable table)
Sets a new related table control. |
void |
tableChanged(TableModelEvent e)
Performs an event when model of the related table is changed. |
void |
valueChanged(ListSelectionEvent e)
Performs an event when selection of the related table is changed. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JTableNavigator()
public JTableNavigator(JTable table)
table - a related table control.| Method Detail |
|---|
public void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenere - an object which describes occured event.public void tableChanged(TableModelEvent e)
tableChanged in interface TableModelListenere - an object which describes occured event.public JTable getTable()
public void setTable(JTable table)
table - a related table control.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - description of the action.public void focusGained(FocusEvent e)
focusGained in interface FocusListenere - an object which described occured event.public void focusLost(FocusEvent e)
focusLost in interface FocusListenere - an object which described occured event.public Color getIndexBackground()
public void setIndexBackground(Color c)
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||