|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
jwo.utils.gui.JWDialogue
jwo.landserf.gui.AttributeTableBox
Creates a dialogue for displaying and editing attribute tables.
Nested Class Summary |
Nested classes inherited from class javax.swing.JDialog |
JDialog.AccessibleJDialog |
Nested classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class jwo.utils.gui.JWDialogue |
DIALOGUE, MONOLOGUE |
Fields inherited from class javax.swing.JDialog |
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
AttributeTableBox(GISFrame gisFrame,
AttributeTable attTable)
Creates window for displaying and editing attribute tables. |
Method Summary | |
void |
actionPerformed(ActionEvent event)
Responds to a button press by loading, saving attribute table or adding a new row or column. |
boolean |
checkInput()
Checks input parameters are legal before finishing. |
void |
columnAdded(TableColumnModelEvent e)
Responds to a column being added ensuring that new column uses the customised renderer. |
void |
columnMarginChanged(ChangeEvent e)
Responts to the fact that a column was moved due to a margin change, but ignored in this case. |
void |
columnMoved(TableColumnModelEvent e)
Responds to a repositioning of a column by ensuring the correct active column is highlighted. |
void |
columnRemoved(TableColumnModelEvent e)
Responds to a column being removed from the model, but ignored in this case. |
void |
columnSelectionChanged(ListSelectionEvent e)
Responds to a new new column being selected. |
void |
editingCanceled(ChangeEvent e)
Responds to editing being cancelled, but does nothing in this case. |
void |
editingStopped(ChangeEvent e)
Called whenever editing has finished. |
AttributeTable |
getAttributeTable()
Returns the attribute table displayed/edited in this box. |
Methods inherited from class jwo.utils.gui.JWDialogue |
addDialogueListener, closedown, getContentPane, isChanged, removeDialogueListener, setFullBackground |
Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AttributeTableBox(GISFrame gisFrame, AttributeTable attTable)
gisFrame
- GUI that holds spatial objects and that called this dialogue.attTable
- Attribute table to display or edit.Method Detail |
public AttributeTable getAttributeTable()
public void columnAdded(TableColumnModelEvent e)
columnAdded
in interface TableColumnModelListener
e
- Table column event.public void columnMarginChanged(ChangeEvent e)
columnMarginChanged
in interface TableColumnModelListener
e
- Change event.public void columnMoved(TableColumnModelEvent e)
columnMoved
in interface TableColumnModelListener
e
- Table column event.public void columnRemoved(TableColumnModelEvent e)
columnRemoved
in interface TableColumnModelListener
e
- Table column event.public void columnSelectionChanged(ListSelectionEvent e)
columnSelectionChanged
in interface TableColumnModelListener
e
- List selection event.public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
event
- Button press event.public boolean checkInput()
checkInput
in class JWDialogue
public void editingStopped(ChangeEvent e)
editingStopped
in interface CellEditorListener
e
- Event assoicated with finishing of editing.public void editingCanceled(ChangeEvent e)
editingCanceled
in interface CellEditorListener
e
- Event that prompted cancellation of editing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |