|
|||||||||||
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.widgets.QueryFormEditor
This is an Editor for any Query Form which can be in embeded or 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 boolean |
fullsave
|
private String |
measurementSystem
|
private int |
mode
|
private boolean |
premode
|
private AbstractQueryFormView |
queryForm
|
static String |
WIDGETS_RESOURCE
|
protected static ResourceBundle |
widgetsResource
|
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 | |
QueryFormEditor()
Construct a Query Form Editor |
|
QueryFormEditor(boolean fullsave)
Construct an Query Form Editor |
|
QueryFormEditor(boolean fullsave,
int mode,
boolean premode)
Construct an Query Form Editor |
Method Summary | |
protected void |
createButtonPanel()
override this so that the button panel doesn't get added in the local save mode |
protected void |
editorApply()
Implement this BaseEditor abstract method Throws ActionAbortedException |
Object |
getItem()
|
String |
getTitle()
Implement this BaseEditor abstract method to return the dialog title |
protected void |
initResource()
Override this to set the container resource bundle |
boolean |
isChanged()
|
protected void |
loadItem(Object obj)
Override this method the set and populate the main panel load the QueryForm |
void |
setChanged(boolean changed)
|
void |
setMeasurementSystem(String measurementSystem)
|
Methods inherited from class wt.clients.widgets.BaseEditor |
addEditorListener, broadcastUpdate, closeDialog, editorCancel, editorOk, getContext, getMainPanel, getStatusBarHost, isDirty, isEditable, popStatusMessage, pushStatusMessage, removeEditorListener, resetItem, setBusy, setDirty, setEditable, setMainPanel, setStatusBarHost, showAsModalEditorDialog, showAsModalEditorDialog, showAsModalEditorDialog, updateEditor |
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, updateEditor |
Field Detail |
public static final String WIDGETS_RESOURCE
protected static ResourceBundle widgetsResource
private AbstractQueryFormView queryForm
private static final boolean debug
private boolean fullsave
private int mode
private boolean premode
private String measurementSystem
Constructor Detail |
public QueryFormEditor()
public QueryFormEditor(boolean fullsave)
fullsave
- true to be in full save mode
false to be in local save mode
default is local savepublic QueryFormEditor(boolean fullsave, int mode, boolean premode)
fullsave
- true to be in full save mode
false to be in local save mode
default is local saveMethod Detail |
protected void createButtonPanel()
createButtonPanel
in class BaseEditor
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 loadItem(Object obj)
loadItem
in class BaseEditor
public Object getItem()
getItem
in interface LocalSaveInterface
public void setChanged(boolean changed)
setChanged
in interface LocalSaveInterface
public boolean isChanged()
isChanged
in interface LocalSaveInterface
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 |