Package thing
Class Handler
java.lang.Object
thing.Handler
- Direct Known Subclasses:
gvSIGHandler
ThinG GUI logic handler/controller.
- Author:
- Dirk Moebius
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(Object toolbarButton) voidfocusgained(Object component) protected voidload()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidpropEditBooleanChanged(String text, boolean isSelected) voidpropEditChoiceChanged(Object combobox, int selected) voidvoidpropEditIntegerChanged(String value) voidvoidpropEditStringChanged(String text) protected booleansave(boolean askForFile) Save the current document.protected voidsetSelectedFile(File selectedFile) voidvoidtabSelected(int tabNo) serialize the current components tree every time the user switches to the XML panel.void
-
Method Details
-
addComponent
-
moveComponentUp
public void moveComponentUp() -
moveComponentDown
public void moveComponentDown() -
treeSelectionChanged
public void treeSelectionChanged() -
tableSelectionChanged
public void tableSelectionChanged() -
propEditBooleanChanged
-
propEditIntegerChanged
-
propEditChoiceChanged
-
propEditStringChanged
-
propEditChooseButtonClicked
public void propEditChooseButtonClicked() -
propEditReset
public void propEditReset() -
tabSelected
public void tabSelected(int tabNo) serialize the current components tree every time the user switches to the XML panel. -
focusgained
-
load
protected void load() -
save
protected boolean save(boolean askForFile) Save the current document.- Parameters:
askForFile- if true present a "Save As" dialog.- Returns:
- true if the file has been saved, false if the save operation has been cancelled because of an error or user interaction.
-
setSelectedFile