|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.mockcentral.editor.nodes.expectation.part.wizard.AbstractFieldEditor
org.mockcentral.editor.nodes.expectation.part.wizard.SimpleValueFieldEditor
public class SimpleValueFieldEditor
Factory class for editors used to set values for
SignaturepartBean instances modeling primitive and wrapped
primitive object types.
| Field Summary |
|---|
| Fields inherited from class org.mockcentral.editor.nodes.expectation.part.wizard.AbstractFieldEditor |
|---|
bean, page, valueClassNameEditor, valueClassNameOptions, valueClassNamePromptLabel, valueEditor, valueOptions, valuePromptLabel |
| Fields inherited from class org.eclipse.swt.widgets.Composite |
|---|
embeddedHandle |
| Fields inherited from class org.eclipse.swt.widgets.Widget |
|---|
handle |
| Method Summary | |
|---|---|
protected void |
createValueClassNameEditor(java.lang.Integer... args)
Creates the Composite used to edit the value class name of
the SignaturePartBean. |
protected void |
createValueEditor(java.lang.Integer... args)
Creates the Composite used to edit the value of the
SignaturePartBean. |
SimpleValueFieldEditor |
getFieldEditor(org.mockcentral.server.ValueType valueType)
Returns an editor used to set values for SignaturepartBean
instances modeling primitive and wrapped primitive types. |
protected void |
updateBooleanEditor()
Updates the controls for editing a boolean or Boolean. |
protected void |
updateControls()
Notification that the various controls within the editor(s) should be updated with new bean data. |
protected void |
updateNumericEditor()
Updates the controls for editing an int or numeric Object. |
protected void |
updateStringEditor()
Updates the controls for editing a String. |
protected void |
updateValueClassName()
Updates the controls based on the bean's valueClassName
field. |
| Methods inherited from class org.mockcentral.editor.nodes.expectation.part.wizard.AbstractFieldEditor |
|---|
createEditorContent, getDialog, setBean, setDefaultValue, setFocusOn, setModelFieldValue, setModelFieldValue, setNoMatchingElementErrorMessage |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
|---|
changed, checkSubclass, computeSize, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setFocus, setLayout, setLayoutDeferred, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
|---|
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
|---|
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
|---|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public SimpleValueFieldEditor getFieldEditor(org.mockcentral.server.ValueType valueType)
SignaturepartBean
instances modeling primitive and wrapped primitive types.
valueType - the ValueType used to select the appropriate
editor.
SignaturepartBean
instances modeling primitive and wrapped primitive types.protected void updateValueClassName()
valueClassName
field.
protected void createValueClassNameEditor(java.lang.Integer... args)
AbstractFieldEditorComposite used to edit the value class name of
the SignaturePartBean. Not all subclasses will require this
method.
createValueClassNameEditor in class AbstractFieldEditorargs - the number of columns for the layout for the
Composite. If not supplied the value will be 1.protected void createValueEditor(java.lang.Integer... args)
AbstractFieldEditorComposite used to edit the value of the
SignaturePartBean. Not all subclasses will require this
method.
createValueEditor in class AbstractFieldEditorargs - the number of columns for the layout for the
Composite. If not supplied the value will be 1.protected void updateControls()
AbstractFieldEditorSignaturePartUtil class to get
the prompts. Subclasses will implement additional any necessary
initialization of their editor controls.
updateControls in class AbstractFieldEditorprotected void updateStringEditor()
protected void updateBooleanEditor()
protected void updateNumericEditor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||