|
|||||||||||
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
wt.clients.widgets.BaseEditor
wt.clients.csm.navigation.NavigationStructureEditor
This is an Editor for any Navigation Structure. It can be in Embedded/Standalone mode.
Nested Class Summary |
Nested classes inherited from class wt.clients.widgets.BaseEditor |
|
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
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 | |
private static boolean |
debug
|
private String |
measurementSystem
|
static String |
NAVIGATION_RESOURCE
|
protected static ResourceBundle |
navigationResource
|
private NavigationService |
service
|
private AbstractNavStructView |
structure
|
Fields inherited from class wt.clients.widgets.BaseEditor |
BASE_RESOURCE, COMBOBOX_WIDTH, currentItem, editorDialog, resource, saveFailed, saveStatus, saveSuccess, statusBarHost, statusUpdate, updateStatus |
Fields inherited from class javax.swing.JPanel |
|
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.Container |
|
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 | |
NavigationStructureEditor()
Construct a Classification Structure Editor |
Method Summary | |
protected void |
editorApply()
Implement this BaseEditor abstract method Throws ActionAbortedException |
String |
getTitle()
Implement this BaseEditor abstract method to return the dialog title |
protected void |
initResource()
Override this to set the container resource bundle |
protected void |
loadItem(Object obj)
|
protected void |
resetItem()
|
void |
setMeasurementSystem(String measurementSystem)
|
boolean |
updateEditor(Object obj,
boolean editable)
This sets the object in the editor |
Methods inherited from class wt.clients.widgets.BaseEditor |
addEditorListener, broadcastUpdate, closeDialog, createButtonPanel, editorCancel, editorOk, getContext, getMainPanel, getStatusBarHost, isDirty, isEditable, popStatusMessage, pushStatusMessage, removeEditorListener, setBusy, setDirty, setEditable, setMainPanel, setStatusBarHost, showAsModalEditorDialog, showAsModalEditorDialog, showAsModalEditorDialog |
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 |
Methods inherited from interface wt.clients.widgets.EditorInterface |
addEditorListener, isEditable, removeEditorListener, setEditable, setStatusBarHost, showAsModalEditorDialog |
Field Detail |
public static final String NAVIGATION_RESOURCE
private static final boolean debug
protected static ResourceBundle navigationResource
private NavigationService service
private AbstractNavStructView structure
private String measurementSystem
Constructor Detail |
public NavigationStructureEditor()
Method Detail |
protected void initResource()
initResource
in class BaseEditor
public String getTitle()
getTitle
in class BaseEditor
protected void editorApply() throws ActionAbortedException
editorApply
in class BaseEditor
ActionAbortedException
protected void resetItem()
resetItem
in class BaseEditor
public boolean updateEditor(Object obj, boolean editable)
updateEditor
in interface EditorInterface
updateEditor
in class BaseEditor
obj
- (AbstractNavStructView or NavStructListView)editable
- true for editable mode, false for view modeprotected void loadItem(Object obj)
loadItem
in class BaseEditor
public void setMeasurementSystem(String measurementSystem)
setMeasurementSystem
in interface MeasurementSystemChangeListener
setMeasurementSystem
in class BaseEditor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |