|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
calculateRepaintArea()
Called to mark this view's on-screen state as invalid, i.e. it needs to be redrawn. |
boolean |
contains(Location point)
Determines whether the specified point (from within the parent view) is within this view. |
java.lang.String |
debugDetails()
|
void |
dispose()
Called when a view is no longer needed and its resources can be disposed of. |
void |
draw(Canvas canvas)
Called by the frame, or the parent view, when this view must redraw itself. |
void |
entered()
Called as the mouse crosses the bounds, and ends up inside, of this view. |
void |
enteredSubview()
Called as the mouse moves into one of this view's contained views. |
void |
exited()
Called as the mouse crosses the bounds, and ends up outside, of this view. |
void |
exitedSubview()
Called as the mouse moves back into view from one its contained views. |
void |
firstClick(Click click)
Called when the user clicks the mouse buttone within this view. |
Location |
getAbsoluteLocation()
the location of this view relative to the containing java.awt.Window object. |
int |
getBaseline()
|
Border |
getBorder()
|
Bounds |
getBounds()
Returns the bounding rectangle that describes where (within it parent), and how big, this view is. |
int |
getId()
|
Location |
getLocation()
Determines the location relative to this object's containing view |
java.lang.String |
getName()
|
Padding |
getPadding()
|
CompositeView |
getParent()
|
Size |
getRequiredSize()
|
Size |
getSize()
Determines the size of this view. |
Workspace |
getWorkspace()
|
View |
identifyView(Location mouseLocationer,
View current)
Returns the view that mouse pointer is over. |
boolean |
indicatesForView(Location mouseLocation)
Determines if the user is invoking an action relating to this view, rather than to whatever this view represents. |
void |
invalidateLayout()
sets this view layout flag to show that the layout is no longer valid |
boolean |
isLayoutInvalid()
Returns true when this views layout is not current, i.e. it needs to be laid out again. |
boolean |
isOpen()
Indicates whether this view is expanded, or iconized. |
boolean |
isReplaceable()
Indicates whether this view can be replaced with another view (for the same value or reference). |
void |
layout()
|
View |
makeView(Naked object,
Field field)
Creates a new concrete view, using this view as a prototype, reassigning the naked object in the process. |
void |
menuOptions(MenuOptionSet menuOptions)
Called when the popup menu is being populated for this view. |
void |
mouseMoved(Location at)
Called as the mouse is moved around within this view. |
void |
print(Canvas canvas)
|
void |
redraw()
|
void |
secondClick(Click click)
Called when the user double-clicked this view. |
void |
setBorder(Border border)
|
void |
setBounds(Location point,
Size size)
|
void |
setLocation(Location point)
Specifies the location of this view, relative to its enclosing view. |
void |
setSize(Size size)
|
void |
thirdClick(Click click)
Called when the user triple-clicks the mouse buttone within this view. |
void |
validateLayout()
Reqests that this view tree needs to be laid out. |
Method Detail |
public Location getAbsoluteLocation()
public int getBaseline()
public void setBorder(Border border)
public Border getBorder()
public void setBounds(Location point, Size size)
public Bounds getBounds()
getSize()
,
getLocation()
public int getId()
public boolean isLayoutInvalid()
public void setLocation(Location point)
point
- public Location getLocation()
getBounds()
public java.lang.String getName()
public boolean isOpen()
public Padding getPadding()
public CompositeView getParent()
public boolean isReplaceable()
public Size getRequiredSize()
public void setSize(Size size)
public Size getSize()
getBounds()
public Workspace getWorkspace()
public void calculateRepaintArea()
public boolean contains(Location point)
public java.lang.String debugDetails()
public void dispose()
public void draw(Canvas canvas)
public void entered()
public void enteredSubview()
public void exited()
public void exitedSubview()
public void firstClick(Click click)
click
- the location within the current view where the mouse click
took placepublic View identifyView(Location mouseLocationer, View current)
mouseLocationer
- current
-
public boolean indicatesForView(Location mouseLocation)
mouseLocation
-
public void invalidateLayout()
public void layout()
public View makeView(Naked object, Field field) throws java.lang.CloneNotSupportedException
object
- the object the new view is for
java.lang.CloneNotSupportedException
public void menuOptions(MenuOptionSet menuOptions)
menuOptions
object.
menuOptions
- public void mouseMoved(Location at)
at
- the position relative to the top-left of this viewpublic void print(Canvas canvas)
public void redraw()
public void secondClick(Click click)
click
.
public void thirdClick(Click click)
doubleClick
.
public void validateLayout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |