|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhomenet.gui.AbstractWindow
jhomenet.gui.AbstractEditor
public abstract class AbstractEditor
An abstract editor class used as a base for all concrete editor classes.
| Field Summary | |
|---|---|
protected javax.swing.JButton |
cancel_b
Buttons |
protected javax.swing.JButton |
commit_b
Buttons |
protected boolean |
isInitialized
Used to make ensure the GUI has been initialized before doing any further work. |
protected java.lang.Object |
lock
Used for initializing. |
| Fields inherited from class jhomenet.gui.AbstractWindow |
|---|
internalFrame |
| Constructor Summary | |
|---|---|
AbstractEditor()
Constructor. |
|
| Method Summary | |
|---|---|
protected javax.swing.JPanel |
buildButtonPanel()
Create and build the button panel. |
protected javax.swing.JPanel |
buildGUI()
Build the GUI |
protected abstract javax.swing.JPanel |
buildMainPanel()
Used to build the panel editor panel. |
protected abstract void |
commitButtonClicked()
|
protected void |
initializationComplete()
Initialization is complete. |
abstract void |
loadObject(java.lang.Object object)
Load an model into the editor. |
protected void |
waitForInitialization()
Wait for initialization to complete. |
| Methods inherited from class jhomenet.gui.AbstractWindow |
|---|
addChildWindow, buildStatusBar, closeWindow, createAsInternalFrame, createAsInternalFrame, getDesiredLocation, getIdentifier, getPanel, getTitle, getWindowDimension, resetGUI, setPanel, startWork, startWork, stopWork, stopWork, windowClosing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.swing.JButton commit_b
protected javax.swing.JButton cancel_b
protected boolean isInitialized
protected java.lang.Object lock
| Constructor Detail |
|---|
public AbstractEditor()
| Method Detail |
|---|
protected abstract javax.swing.JPanel buildMainPanel()
protected abstract void commitButtonClicked()
commitButtonClicked()public abstract void loadObject(java.lang.Object object)
object - protected javax.swing.JPanel buildGUI()
buildGUI in class AbstractWindowprotected javax.swing.JPanel buildButtonPanel()
protected void waitForInitialization()
protected void initializationComplete()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||