org.nakedobjects.plugins.dnd.viewer.action
Class Button

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.action.AbstractControlView
      extended by org.nakedobjects.plugins.dnd.viewer.action.Button
All Implemented Interfaces:
java.lang.Cloneable, View

public class Button
extends AbstractControlView


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.action.AbstractControlView
action
 
Fields inherited from interface org.nakedobjects.plugins.dnd.View
HPADDING, VPADDING
 
Constructor Summary
Button(ButtonAction action, View target)
           
 
Method Summary
 boolean containsFocus()
           
 void draw(Canvas canvas)
          Called by the frame, or the parent view, when this view must redraw itself.
 Size getMaximumSize()
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.action.AbstractControlView
addView, canChangeValue, canFocus, contains, contentMenuOptions, debug, debugStructure, dispose, drag, drag, dragCancel, dragFrom, dragIn, dragOut, dragStart, dragTo, drop, drop, editComplete, entered, enteredSubview, exited, exitedSubview, firstClick, focusLost, focusReceived, getAbsoluteLocation, getBaseline, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getPadding, getParent, getRequiredSize, getSize, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, getWorkspace, hasFocus, identify, invalidateContent, invalidateLayout, isOver, isPressed, keyPressed, keyReleased, keyTyped, layout, limitBoundsWithin, limitBoundsWithin, markDamaged, markDamaged, mouseDown, mouseMoved, mouseUp, objectActionResult, pickupContent, pickupView, print, refresh, removeView, replaceView, secondClick, setBounds, setFocusManager, setLocation, setMaximumSize, setParent, setSize, setView, subviewFor, thirdClick, update, updateView, viewAreaType, viewMenuOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Button

public Button(ButtonAction action,
              View target)
Method Detail

containsFocus

public boolean containsFocus()
Specified by:
containsFocus in interface View
Overrides:
containsFocus in class AbstractControlView

draw

public void draw(Canvas canvas)
Description copied from interface: View
Called by the frame, or the parent view, when this view must redraw itself.

Specified by:
draw in interface View
Overrides:
draw in class AbstractControlView

getMaximumSize

public Size getMaximumSize()


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.