|
|||||||||||
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.csm.navigation.InlineRangeValueEditorWrapper
Nested Class Summary | |
(package private) class |
InlineRangeValueEditorWrapper.DetailsPanel
|
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 JButton |
btnDetails
|
private JButton |
btnDown
|
private JButton |
btnUp
|
private static String |
CLASSNAME
|
private QueryFormElementDefaultView |
container
|
private int |
current
|
private Vector |
dataList
|
private static boolean |
debug
|
private AttributeDefDefaultView |
definition
|
private boolean |
dirty
|
private boolean |
disableDetails
|
private boolean |
edit
|
private boolean |
hasNullValue
|
private int |
max
|
private String |
measurementSystem
|
protected static String |
NAVIGATION_RESOURCE
|
protected ResourceBundle |
nvResource
|
private QueryInfoObject |
queryObject
|
private static String |
RESOURCE
|
private static String |
versionID
|
private InlineRangeValueEditorWidget |
widget
|
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 | |
InlineRangeValueEditorWrapper(QueryFormElementDefaultView container,
AttributeDefDefaultView definition,
boolean edit)
Create the wrapper. |
|
InlineRangeValueEditorWrapper(QueryInfoObject queryObject,
QueryFormElementDefaultView container,
AttributeDefDefaultView definition,
boolean edit)
|
|
InlineRangeValueEditorWrapper(QueryInfoObject queryObject,
QueryFormElementDefaultView container,
AttributeDefDefaultView definition,
boolean edit,
boolean disableDetails)
|
Method Summary | |
void |
actionPerformed(ActionEvent e)
|
void |
addAndDisplayValue(RangeQFElementValueDefaultView obj)
Add and display the AbstractValueView object. |
int |
addValue(RangeQFElementValueDefaultView obj)
Set the AbstractValueView to this wrapper. |
void |
addValues(Vector vector)
Set the values from the vector of AbstractValueView. |
private void |
createWidget(AttributeDefDefaultView definition)
private method to create the InlineValueEditorWidget. |
private void |
detailsClick()
Action for the details click. |
protected void |
displayExceptionMessage(String key,
Object[] params)
|
private void |
displayValue(int index)
Display the value at the index. |
void |
displayValue(RangeQFElementValueDefaultView obj)
Display the value. |
private void |
downClick()
Action for the down click spinner. |
private int |
findInsertPosition(RangeQFElementValueDefaultView obj)
Find the insert position of this object to the vector. |
private int |
findValuePosition(RangeQFElementValueDefaultView obj)
|
JComponent |
getTableComponent()
|
String |
getToolTipText()
|
RangeQFElementValueDefaultView |
getValue()
Get the current display AbstractValueView. |
Vector |
getValues()
Get all AbstractValueView from this wrapper. |
protected void |
initResource()
Initialize resource bundle for internationalization and localization. |
boolean |
isDirty()
|
boolean |
isWidgetEnabled()
|
private void |
populateInitialValues()
Populate the Initial AbstractValueView values. |
void |
saveValue()
|
protected void |
setBusy(boolean busy)
|
void |
setMeasurementSystem(String measurementSystem)
|
void |
setWidgetEnabled(boolean state)
|
private void |
upClick()
Action for the up click spinner. |
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 |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final boolean debug
private static final String versionID
private QueryFormElementDefaultView container
private AttributeDefDefaultView definition
private QueryInfoObject queryObject
private InlineRangeValueEditorWidget widget
private JButton btnUp
private JButton btnDown
private JButton btnDetails
private Vector dataList
private boolean edit
private boolean dirty
private boolean hasNullValue
private int max
private int current
private String measurementSystem
private boolean disableDetails
protected static final String NAVIGATION_RESOURCE
protected ResourceBundle nvResource
Constructor Detail |
public InlineRangeValueEditorWrapper(QueryFormElementDefaultView container, AttributeDefDefaultView definition, boolean edit)
container
- definition
- edit
- public InlineRangeValueEditorWrapper(QueryInfoObject queryObject, QueryFormElementDefaultView container, AttributeDefDefaultView definition, boolean edit)
public InlineRangeValueEditorWrapper(QueryInfoObject queryObject, QueryFormElementDefaultView container, AttributeDefDefaultView definition, boolean edit, boolean disableDetails)
queryObject
- container
- definition
- edit
- Method Detail |
protected void initResource()
public int addValue(RangeQFElementValueDefaultView obj)
obj
-
public void addValues(Vector vector)
vector
- public void displayValue(RangeQFElementValueDefaultView obj) throws ActionAbortedException
obj
-
ActionAbortedException
private void displayValue(int index) throws ActionAbortedException
index
-
ActionAbortedException
public void addAndDisplayValue(RangeQFElementValueDefaultView obj) throws ActionAbortedException
obj
-
ActionAbortedException
private int findInsertPosition(RangeQFElementValueDefaultView obj)
obj
-
private int findValuePosition(RangeQFElementValueDefaultView obj)
obj
-
public RangeQFElementValueDefaultView getValue() throws ActionAbortedException
ActionAbortedException
public Vector getValues()
private void populateInitialValues()
private void upClick()
private void downClick()
private void detailsClick()
private void createWidget(AttributeDefDefaultView definition)
definition
- public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- protected void setBusy(boolean busy)
busy
- public JComponent getTableComponent()
getTableComponent
in interface JCSMTableComponent
public void setWidgetEnabled(boolean state)
setWidgetEnabled
in interface JCSMTableComponent
state
- public boolean isWidgetEnabled()
isWidgetEnabled
in interface JCSMTableComponent
public boolean isDirty()
isDirty
in interface JCSMTableComponent
public void saveValue() throws ActionAbortedException
saveValue
in interface JCSMTableComponent
ActionAbortedException
public String getToolTipText()
getToolTipText
in interface JCSMTableComponent
public void setMeasurementSystem(String measurementSystem)
setMeasurementSystem
in interface MeasurementSystemChangeListener
measurementSystem
- protected void displayExceptionMessage(String key, Object[] params)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |