|
|||||||||
| 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
public class AttributeTableBox
Creates a dialogue for displaying and editing attribute tables.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces 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)
Responds 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, 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 TableColumnModelListenere - Table column event.public void columnMarginChanged(ChangeEvent e)
columnMarginChanged in interface TableColumnModelListenere - Change event.public void columnMoved(TableColumnModelEvent e)
columnMoved in interface TableColumnModelListenere - Table column event.public void columnRemoved(TableColumnModelEvent e)
columnRemoved in interface TableColumnModelListenere - Table column event.public void columnSelectionChanged(ListSelectionEvent e)
columnSelectionChanged in interface TableColumnModelListenere - List selection event.public void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerevent - Button press event.public boolean checkInput()
checkInput in class JWDialoguepublic void editingStopped(ChangeEvent e)
editingStopped in interface CellEditorListenere - Event associated with finishing of editing.public void editingCanceled(ChangeEvent e)
editingCanceled in interface CellEditorListenere - Event that prompted cancellation of editing.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||