|
||||||||||
| 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.CheckboxField
| 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 | |
CheckboxField()
|
|
| Method Summary | |
void |
draw(Canvas canvas)
Called by the frame, or the parent view, when this view must redraw itself. |
void |
firstClick(Click click)
Called when the user clicks the mouse buttone within this view. |
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, 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, 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 CheckboxField()
| Method Detail |
public int getBaseline()
AbstractView
getBaseline in interface ViewgetBaseline in class AbstractViewpublic Size getRequiredSize()
public NakedValue getValue()
getValue in class AbstractValueViewpublic void firstClick(Click click)
View
firstClick in interface ViewfirstClick in class AbstractViewprotected void init(NakedValue value)
init in class AbstractValueViewpublic void draw(Canvas canvas)
View
draw in interface Viewdraw in class AbstractValueViewpublic void refresh()
AbstractValueView
refresh in class AbstractValueView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||