|
||||||||||
| 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.TextParseableFieldAbstract
org.nakedobjects.plugins.dnd.viewer.view.field.ColorField
public class ColorField
| Nested Class Summary | |
|---|---|
static class |
ColorField.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 | |
|---|---|
ColorField(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()
|
protected void |
save()
|
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.TextParseableFieldAbstract |
|---|
canChangeValue, cantClear, clear, copyToClipboard, isEmpty, parseEntry, pasteFromClipboard, provideClearCopyPaste, saveValue |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField |
|---|
canFocus, contentMenuOptions, drag, dragCancel, dragFrom, dragTo, entered, exited, getIdentified, getPadding, getRoot, hasFocus, indicatesForView, initiateSave, keyPressed, keyReleased, keyTyped, toString, viewAreaType |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView |
|---|
addView, assignId, 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 ColorField(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 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 | |||||||||