|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nakedobjects.viewer.lightweight.AbstractView
org.nakedobjects.viewer.lightweight.AbstractValueView
org.nakedobjects.viewer.lightweight.view.OptionField
Field Summary |
Fields inherited from class org.nakedobjects.viewer.lightweight.AbstractValueView |
objectField |
Fields inherited from class org.nakedobjects.viewer.lightweight.AbstractView |
DEBUG, DRAG_HANDLE_WIDTH, HPADDING, ICON_SIZE, VPADDING |
Fields inherited from interface org.nakedobjects.viewer.lightweight.InternalView |
FIELD, NORMAL |
Constructor Summary | |
OptionField()
|
Method Summary | |
void |
draw(Canvas canvas)
Called by the frame, or the parent view, when this view must redraw itself. |
int |
getBaseline()
Returns the postion of the baseline for adjacent label. |
Size |
getRequiredSize()
|
NakedValue |
getValue()
|
protected void |
init(NakedValue value)
|
void |
refresh()
refresh this views state from the value objects state so that it accurately reflects the value objects value. |
Methods inherited from class org.nakedobjects.viewer.lightweight.AbstractValueView |
canChangeValue, canFocus, clone, drag, dragCancel, dragFrom, dragTo, editComplete, entered, exited, focusLost, focusRecieved, getContainedBy, getFieldOf, getIdentified, getPadding, getRoot, hasFocus, indicatesForView, keyPressed, keyReleased, keyTyped, makeView, menuOptions, parentObjectView, refreshDerivedValue, refreshValue, set, toString |
Methods inherited from class org.nakedobjects.viewer.lightweight.AbstractView |
addControl, assignId, backgroundColor, calculateRepaintArea, contains, createCanvas, debugDetails, defaultFieldHeight, dispose, enteredSubview, exitedSubview, firstClick, getAbsoluteLocation, getBorder, getBounds, getId, getLocation, getName, getParent, getSize, getWorkspace, identifyView, invalidateLayout, isLayoutInvalid, isOpen, isReplaceable, layout, limitBounds, mouseMoved, print, redraw, removeControl, repaintAll, secondClick, setBorder, setBounds, setLayoutValid, setLocation, setParent, setSize, setWorkspace, thirdClick, transparentBackground, validateLayout |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.nakedobjects.viewer.lightweight.InternalView |
setParent |
Methods inherited from interface org.nakedobjects.viewer.lightweight.View |
calculateRepaintArea, contains, debugDetails, dispose, enteredSubview, exitedSubview, firstClick, getAbsoluteLocation, getBorder, getBounds, getId, getLocation, getName, getParent, getSize, getWorkspace, identifyView, invalidateLayout, isLayoutInvalid, isOpen, isReplaceable, layout, mouseMoved, print, redraw, secondClick, setBorder, setBounds, setLocation, setSize, thirdClick, validateLayout |
Methods inherited from interface org.nakedobjects.viewer.lightweight.KeyboardAccessible |
redraw |
Constructor Detail |
public OptionField()
Method Detail |
public void draw(Canvas canvas)
View
draw
in interface View
draw
in class AbstractValueView
public int getBaseline()
AbstractView
getBaseline
in interface View
getBaseline
in class AbstractView
public Size getRequiredSize()
public NakedValue getValue()
getValue
in class AbstractValueView
public void refresh()
AbstractValueView
refresh
in class AbstractValueView
protected void init(NakedValue value)
init
in class AbstractValueView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |