|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField
org.nakedobjects.plugins.dnd.viewer.view.field.CheckboxField
public class CheckboxField
| Nested Class Summary | |
|---|---|
static class |
CheckboxField.Specification
|
| Field Summary |
|---|
| Fields inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField |
|---|
TEXT_WIDTH |
| Fields inherited from interface org.nakedobjects.plugins.dnd.View |
|---|
HPADDING, VPADDING |
| Constructor Summary | |
|---|---|
CheckboxField(Content content,
ViewSpecification specification,
ViewAxis axis)
|
|
| 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()
|
Size |
getMaximumSize()
|
void |
keyTyped(char keyCode)
Called when the user presses a non-control key (i.e. |
protected void |
save()
|
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField |
|---|
canFocus, cantClear, clear, contentMenuOptions, copyToClipboard, drag, dragCancel, dragFrom, dragTo, entered, exited, getIdentified, getPadding, getRoot, hasFocus, indicatesForView, initiateSave, isEmpty, keyPressed, keyReleased, pasteFromClipboard, provideClearCopyPaste, toString, viewAreaType |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView |
|---|
addView, assignId, canChangeValue, contains, containsFocus, debug, debugStructure, dispose, drag, dragIn, dragOut, dragStart, drop, drop, editComplete, focusLost, focusReceived, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getParent, getRequiredSize, getSize, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, getWorkspace, identify, invalidateContent, invalidateLayout, layout, limitBoundsWithin, limitBoundsWithin, markDamaged, markDamaged, mouseDown, mouseMoved, mouseUp, objectActionResult, pickupContent, pickupView, print, refresh, removeView, replaceOptions, replaceView, secondClick, setBounds, setContent, setFocusManager, setLocation, setMaximumSize, setParent, setSize, setSpecification, setView, setViewAxis, subviewFor, thirdClick, update, updateView, viewMenuOptions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CheckboxField(Content content,
ViewSpecification specification,
ViewAxis axis)
| Method Detail |
|---|
public void draw(Canvas canvas)
View
draw in interface Viewdraw in class AbstractFieldpublic void firstClick(Click click)
View
firstClick in interface ViewfirstClick in class AbstractViewclick - the location within the current view where the mouse click took placepublic void keyTyped(char keyCode)
AbstractFieldkeyPressed and a subsequent call to
keyReleased.
keyTyped in interface ViewkeyTyped in class AbstractFieldpublic int getBaseline()
getBaseline in interface ViewgetBaseline in class AbstractFieldpublic Size getMaximumSize()
getMaximumSize in interface ViewgetMaximumSize in class AbstractViewprotected void save()
save in class AbstractField
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||