|
|||||||||||
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.InlineLikeValueEditorWrapper
Nested Class Summary | |
(package private) class |
InlineLikeValueEditorWrapper.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 static String |
RESOURCE
|
private static String |
versionID
|
private InlineLikeValueEditorWidget |
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 | |
InlineLikeValueEditorWrapper(QueryFormElementDefaultView container,
AttributeDefDefaultView definition,
boolean edit)
|
|
InlineLikeValueEditorWrapper(QueryFormElementDefaultView container,
AttributeDefDefaultView definition,
boolean edit,
boolean disableDetails)
Create the wrapper. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
|
void |
addAndDisplayValue(LikeQFElementValueDefaultView obj)
Add and display the AbstractValueView object. |
int |
addValue(LikeQFElementValueDefaultView 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(LikeQFElementValueDefaultView obj)
Display the value. |
private void |
downClick()
Action for the down click spinner. |
private int |
findInsertPosition(LikeQFElementValueDefaultView obj)
Find the insert position of this object to the vector. |
private int |
findValuePosition(LikeQFElementValueDefaultView obj)
|
JComponent |
getTableComponent()
|
String |
getToolTipText()
|
LikeQFElementValueDefaultView |
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 boolean debug
private static final String CLASSNAME
private static final String versionID
private QueryFormElementDefaultView container
private AttributeDefDefaultView definition
private InlineLikeValueEditorWidget 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
protected static final String NAVIGATION_RESOURCE
protected ResourceBundle nvResource
private boolean disableDetails
Constructor Detail |
public InlineLikeValueEditorWrapper(QueryFormElementDefaultView container, AttributeDefDefaultView definition, boolean edit)
public InlineLikeValueEditorWrapper(QueryFormElementDefaultView container, AttributeDefDefaultView definition, boolean edit, boolean disableDetails)
container
- definition
- edit
- Method Detail |
protected void initResource()
public int addValue(LikeQFElementValueDefaultView obj)
obj
-
public void addValues(Vector vector)
vector
- private void displayValue(int index) throws ActionAbortedException
index
-
ActionAbortedException
public void displayValue(LikeQFElementValueDefaultView obj) throws ActionAbortedException
obj
-
ActionAbortedException
public void addAndDisplayValue(LikeQFElementValueDefaultView obj) throws ActionAbortedException
obj
-
ActionAbortedException
private int findInsertPosition(LikeQFElementValueDefaultView obj)
obj
-
private int findValuePosition(LikeQFElementValueDefaultView obj)
obj
-
public LikeQFElementValueDefaultView 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 void setMeasurementSystem(String measurementSystem)
setMeasurementSystem
in interface MeasurementSystemChangeListener
measurementSystem
- 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
protected void displayExceptionMessage(String key, Object[] params)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |