|
|||||||||||
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.widgets.InlineLikeValueEditorWidget
Nested Class Summary |
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 boolean |
btnNotEnabled
|
private JComboBox |
cbChoice
|
private static String |
CLASSNAME
|
private static boolean |
debug
|
private AttributeDefDefaultView |
definition
|
private boolean |
dirty
|
private boolean |
enabled
|
private ImageIcon |
inRange
|
private LikeQFElementValueDefaultView |
obj
|
private ImageIcon |
outRange
|
private static String |
RESOURCE
|
private JToggleButton |
tbNot
|
private static String |
versionID
|
private InlineValueEditorWidgetInterface |
widget
|
protected static String |
WIDGETS_RESOURCE
|
protected ResourceBundle |
widgetsResource
|
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 | |
InlineLikeValueEditorWidget()
|
|
InlineLikeValueEditorWidget(AttributeDefDefaultView definition)
|
Method Summary | |
void |
addKeyListener(KeyListener listener)
Add the key listener to the JComponent inside the widget. |
InlineLikeValueEditorWidget |
createNewWidget()
Create a new widget will the same type as itself. |
protected void |
displayExceptionMessage(String key,
Object[] params)
|
AttributeDefDefaultView |
getAttributeDefinition()
Return the Attribute Definition. |
boolean |
getBtnNotEnabled()
|
private String[] |
getChoices()
|
LikeQFElementValueDefaultView[] |
getNewValues()
Get the new values. |
LikeQFElementValueDefaultView |
getShownValue()
Get the currently shown value from the widget. |
void |
initComponents()
|
protected void |
initResource()
|
boolean |
isDirty()
Return whether the widget has changed or not. |
boolean |
isWidgetEnabled()
Return whether the widget is enabled or not. |
void |
removeKeyListener(KeyListener listener)
Remove the KeyListener from the JComponent inside the widget. |
void |
removeShownValue()
Remove the shown value. |
void |
setAttributeDefinition(AttributeDefDefaultView definition)
Set the Attribute Definition. |
void |
setBtnNotEnabled(boolean b)
|
void |
setMeasurementSystem(String measurementSystem)
|
void |
setMultiLineToolTip(String tooltip)
Set the tooltip text to the JComponent inside the widget. |
void |
setShownValue(LikeQFElementValueDefaultView obj)
Set the AbstractValueView to be displayed in the widget. |
void |
setWidgetEnabled(boolean enabled)
Change the widget state from enabled to disabled. |
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 String versionID
private InlineValueEditorWidgetInterface widget
private boolean enabled
private LikeQFElementValueDefaultView obj
private boolean dirty
private AttributeDefDefaultView definition
private JComboBox cbChoice
private static final boolean debug
protected static final String WIDGETS_RESOURCE
protected ResourceBundle widgetsResource
private JToggleButton tbNot
private ImageIcon inRange
private ImageIcon outRange
private boolean btnNotEnabled
Constructor Detail |
public InlineLikeValueEditorWidget()
public InlineLikeValueEditorWidget(AttributeDefDefaultView definition)
definition
- Method Detail |
protected void initResource()
public void initComponents()
public LikeQFElementValueDefaultView getShownValue() throws ActionAbortedException
ActionAbortedException
public LikeQFElementValueDefaultView[] getNewValues() throws ActionAbortedException
ActionAbortedException
public void setShownValue(LikeQFElementValueDefaultView obj) throws ActionAbortedException
obj
-
ActionAbortedException
public void removeShownValue()
public void setWidgetEnabled(boolean enabled)
enabled
- public boolean isWidgetEnabled()
public InlineLikeValueEditorWidget createNewWidget()
public void setMultiLineToolTip(String tooltip)
tooltip
- public void addKeyListener(KeyListener listener)
listener
- public void removeKeyListener(KeyListener listener)
listener
- public boolean isDirty()
public void setAttributeDefinition(AttributeDefDefaultView definition)
definition
- public AttributeDefDefaultView getAttributeDefinition()
public void setMeasurementSystem(String measurementSystem)
setMeasurementSystem
in interface MeasurementSystemChangeListener
measurementSystem
- public void setBtnNotEnabled(boolean b)
public boolean getBtnNotEnabled()
private String[] getChoices()
protected void displayExceptionMessage(String key, Object[] params)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |