|
UC Berkeley Group for User Interface Research Updated November 17, 2000 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.berkeley.guir.lib.satin.objects.GraphicalObjectImpl | +--edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupImpl
A Group of Graphical objects. Unlike GraphicalObjectCollections, GraphicalObjectGroups can be rendered on screen.
If you subclass this class, be sure to implement deep-clone chaining by
overriding deepClone()
. This is necessary for copy /
cut / paste to work in Satin. Deep-clone chaining is essentially the same
as clone chaining
.
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Oct 06 1998, JH Created class - SATIN-v2.1-1.0.0, Aug 11 2000, JH Touched for SATIN release
Inner classes inherited from class edu.berkeley.guir.lib.satin.SatinConstants |
SatinConstants.ObjectPoolAffineTransform, SatinConstants.ObjectPoolPoint2D, SatinConstants.ObjectPoolPolygon2D, SatinConstants.ObjectPoolRectangle2D, SatinConstants.ObjectPoolStringBuffer, SatinConstants.UniqueAffineTransform, SatinConstants.UniquePoint2D, SatinConstants.UniquePolygon2D, SatinConstants.UniqueRectangle2D |
Fields inherited from interface edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup |
DEFAULT_POS_POLICY, KEEP_ABS_POS, KEEP_REL_POS |
Fields inherited from interface edu.berkeley.guir.lib.satin.objects.GraphicalObject |
GESTUREINTRP_CLPROPERTY, INKINTRP_CLPROPERTY, STYLE_CLPROPERTY, VIEW_CLPROPERTY |
Constructor Summary | |
GraphicalObjectGroupImpl()
|
Method Summary | |
GraphicalObject |
add(GraphicalObject gob)
This adds a GraphicalObject to the top of the group, keeping its relative coordinates the same. |
GraphicalObject |
add(GraphicalObject gob,
int pos)
Add a GraphicalObject to the top of this group, specifying the GraphicalObject's position at the same time. |
GraphicalObject |
add(int index,
GraphicalObject gob)
This adds a GraphicalObject to the group at the specified layer, keeping its relative coordinates the same. |
GraphicalObject |
add(int index,
GraphicalObject gob,
int pos)
Add a GraphicalObject to the specified layer of this group, specifying the GraphicalObject's position at the same time. |
GraphicalObject |
addToBack(GraphicalObject gob)
This adds a GraphicalObject to the bottom of the group, keeping its relative coordinates the same. |
GraphicalObject |
addToBack(GraphicalObject gob,
int pos)
Add a GraphicalObject to the bottom of this group, specifying the GraphicalObject's position at the same time. |
GraphicalObject |
addToFront(GraphicalObject gob)
This adds a GraphicalObject to the top of the group, keeping its relative coordinates the same. |
GraphicalObject |
addToFront(GraphicalObject gob,
int pos)
Add a GraphicalObject to the top of this group, specifying the GraphicalObject's position at the same time. |
void |
bringDownALayer(GraphicalObject gob)
Move the specified GraphicalObject down one layer in this Graphical Object Group. |
void |
bringDownNLayers(GraphicalObject gob,
int n)
Move the specified GraphicalObject down N layers in this Group. |
void |
bringToBottomLayer(GraphicalObject gob)
Move the specified Graphical Object to the bottom layer of this Graphical Object Group. |
void |
bringToTopLayer(GraphicalObject gob)
Move the specified Graphical Object to the top layer of this Graphical Object Group. |
void |
bringUpALayer(GraphicalObject gob)
Move the specified GraphicalObject up one layer in this Graphical Object Group. |
void |
bringUpNLayers(GraphicalObject gob,
int n)
Move the specified GraphicalObject up N layers in this Group. |
void |
clear()
Clear out all Graphical Objects in this collection. |
Object |
clone()
So that my clone will not sleep alone. |
protected GraphicalObjectGroupImpl |
clone(GraphicalObjectGroupImpl gobgrpClone)
For clone chaining purposes. |
boolean |
contains(GraphicalObject gob)
See if this Graphical Object Collection contains the specified Graphical Object. |
protected InteractionHandler |
createNewInteractionHandler()
Create an InteractionHandler for Graphical Object Groups. |
Object |
deepClone()
Make a deep clone of the GraphicalObjectGroup. |
protected GraphicalObjectGroupImpl |
deepClone(GraphicalObjectGroupImpl newGobGrp)
For deep-clone chaining. |
protected void |
defaultRender(SatinGraphics g)
The default method for rendering. |
GraphicalObject |
get(int index)
Get the Graphical Object at the specified index. |
String |
getAbsoluteLayer(GraphicalObject gob)
Given a GraphicalObject, return its absolute layer position. |
Rectangle2D |
getCollectionBounds2D(int cdsys)
Get the union of the bounds of the GraphicalObjects contained in this collection. |
Rectangle2D |
getCollectionBounds2D(int cdsys,
Rectangle2D rect)
Get the bounds, put them in the specified Rectangle. |
protected GraphicalObject |
getDispatchee(TimedStroke stk)
Given a stroke, figure out which of our children it will be dispatched to. |
GraphicalObject |
getFirst()
Get the first Graphical Object. |
Iterator |
getForwardIterator()
Get an iterator that goes forward thru the collection. |
GraphicalObjectCollection |
getGraphicalObjects(GraphicalObject gob,
int num,
int depth,
int gettype)
|
GraphicalObjectCollection |
getGraphicalObjects(GraphicalObject gob,
int num,
int depth,
int gettype,
double thresh,
GraphicalObjectCollection out)
Get all Graphical Objects subject to the specified parameters. |
GraphicalObjectCollection |
getGraphicalObjects(int cdsys,
double x,
double y,
int num,
int depth,
int gettype)
|
GraphicalObjectCollection |
getGraphicalObjects(int cdsys,
double x,
double y,
int num,
int depth,
int gettype,
double thresh,
GraphicalObjectCollection out)
|
GraphicalObjectCollection |
getGraphicalObjects(int cdsys,
Point2D pt,
int num,
int depth,
int gettype)
|
GraphicalObjectCollection |
getGraphicalObjects(int cdsys,
Point2D pt,
int num,
int depth,
int gettype,
double thresh,
GraphicalObjectCollection out)
Get all Graphical Objects subject to the specified parameters. |
GraphicalObjectCollection |
getGraphicalObjects(int cdsys,
Shape s,
int num,
int depth,
int gettype)
|
GraphicalObjectCollection |
getGraphicalObjects(int cdsys,
Shape s,
int num,
int depth,
int gettype,
double thresh,
GraphicalObjectCollection out)
|
GraphicalObject |
getID(int id)
Retrieve the GraphicalObject with the specified unique ID. |
GraphicalObject |
getLast()
Get the last Graphical Object. |
String |
getRelativeLayer(GraphicalObject gob)
Given a GraphicalObject, return what layer it is in relative to this Graphical Object Group. |
Iterator |
getReverseIterator()
Get an iterator that goes backwards thru the collection. |
int |
indexOf(GraphicalObject gob)
Find the index of the specified Graphical Object. |
boolean |
isEmpty()
Is this collection empty? |
void |
notifyWatchersDelete()
Notify the watchers that this object has been deleted. |
int |
numElements()
Get the number of elements contained in this collection. |
void |
onDelete(Watchable w)
Callback method for notifications of deletions, that is this Graphical Object has been deleted and you should remove it. |
void |
onNotify(Watchable w,
Object arg)
Callback method for generic notifications. |
void |
onUpdate(Watchable w,
Object arg)
Recalculate the bounding points. |
void |
onUpdate(Watchable w,
String strProperty,
Object oldVal,
Object newVal)
Recalculate the bounding points. |
GraphicalObject |
remove(GraphicalObject gob)
Remove a Graphical Object from this collection. |
void |
removeAll(GraphicalObjectCollection gobcol)
Remove from this Group all of the GraphicalObjects in the collection. |
void |
setRelativeLayer(GraphicalObject gob,
int layer)
Given a GraphicalObject, set what layer it is in relative to this Graphical Object Group. |
protected boolean |
shapeContainsInternal(Point2D pt)
Internal method. |
protected boolean |
shapeContainsInternal(Shape s)
Internal method. |
protected boolean |
shapeIntersectsInternal(Shape s)
Internal method. |
void |
sort(Comparator c)
Actually does nothing, since the ordering is imposed by the Group. |
String |
toDebugString()
List what Graphical Objects are contained. |
protected void |
updateGroupBounds()
Recalculate all of the bounds for this group. |
protected void |
updateGroupBounds(GraphicalObject gob)
Specifies how bounds are updated when a Graphical Object is added. |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.berkeley.guir.lib.satin.watch.Watchable |
addWatcher, clearWatchers, countWatchers, disableNotify, enableNotify, hasNotifyEnabled, notifyWatchers, notifyWatchers, notifyWatchersUpdate, notifyWatchersUpdate, removeWatcher |
Methods inherited from interface java.awt.Shape |
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, intersects |
Constructor Detail |
public GraphicalObjectGroupImpl()
Method Detail |
protected InteractionHandler createNewInteractionHandler()
createNewInteractionHandler
in class GraphicalObjectImpl
public GraphicalObject add(GraphicalObject gob)
add
in interface GraphicalObjectCollection
gob
- is a GraphicalObject whose coordinates have already
been transformed to this group's coordinate system.GraphicalObjectGroup.KEEP_REL_POS
public GraphicalObject addToBack(GraphicalObject gob)
addToBack
in interface GraphicalObjectCollection
gob
- is a GraphicalObject whose coordinates have already
been transformed to this group's coordinate system.GraphicalObjectGroup.KEEP_REL_POS
public GraphicalObject addToFront(GraphicalObject gob)
addToFront
in interface GraphicalObjectCollection
gob
- is a GraphicalObject whose coordinates have already
been transformed to this group's coordinate system.GraphicalObjectGroup.KEEP_REL_POS
public GraphicalObject add(int index, GraphicalObject gob)
add
in interface GraphicalObjectCollection
index
- is the layer to add the GraphicalObject to. Lower numbers
indicate the front (higher layers), while higher numbers
indicate the back (lower layers).gob
- is a GraphicalObject whose coordinates have already
been transformed to this group's local coordinate system.GraphicalObjectGroup.KEEP_REL_POS
public GraphicalObject add(GraphicalObject gob, int pos)
GraphicalObjectGroup
add
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the GraphicalObject to add.pos
- is the GraphicalObject's position, either
GraphicalObjectGroup.KEEP_ABS_POS
or GraphicalObjectGroup.KEEP_REL_POS
.GraphicalObjectGroup.addToFront(GraphicalObject, int)
public GraphicalObject addToBack(GraphicalObject gob, int pos)
GraphicalObjectGroup
addToBack
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the GraphicalObject to add.pos
- is the GraphicalObject's position, either
GraphicalObjectGroup.KEEP_ABS_POS
or GraphicalObjectGroup.KEEP_REL_POS
.public GraphicalObject addToFront(GraphicalObject gob, int pos)
GraphicalObjectGroup
addToFront
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the GraphicalObject to add.pos
- is the GraphicalObject's position, either
GraphicalObjectGroup.KEEP_ABS_POS
or GraphicalObjectGroup.KEEP_REL_POS
.public GraphicalObject add(int index, GraphicalObject gob, int pos)
GraphicalObjectGroup
add
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
index
- is the layer to add to. Lower numbers indicate the front
(higher layers).gob
- is the GraphicalObject to add.pos
- is the GraphicalObject's position, either
GraphicalObjectGroup.KEEP_ABS_POS
or GraphicalObjectGroup.KEEP_REL_POS
.public void clear()
GraphicalObjectCollection
clear
in interface GraphicalObjectCollection
public boolean contains(GraphicalObject gob)
GraphicalObjectCollection
GraphicalObject.shapeContains(GraphicalObject)
.contains
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
public GraphicalObject get(int index)
GraphicalObjectCollection
get
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
index
- is the location to look at (zero-based). It is up to the
programmer to ensure that this is a valid value.public GraphicalObject getFirst()
GraphicalObjectCollection
getFirst
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
public GraphicalObject getLast()
GraphicalObjectCollection
getLast
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
public GraphicalObject getID(int id)
GraphicalObjectCollection
getID
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
id
- is the unique ID of the GraphicalObject to retrieve.public Rectangle2D getCollectionBounds2D(int cdsys)
GraphicalObjectCollection
getCollectionBounds2D
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
cdsys
- is the coordinate system to use.public Rectangle2D getCollectionBounds2D(int cdsys, Rectangle2D rect)
GraphicalObjectCollection
getCollectionBounds2D
in interface GraphicalObjectCollection
public int indexOf(GraphicalObject gob)
GraphicalObjectCollection
indexOf
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
gob
- is the Graphical Object to look for.public boolean isEmpty()
GraphicalObjectCollection
isEmpty
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
public void sort(Comparator c)
sort
in interface GraphicalObjectCollection
public int numElements()
GraphicalObjectCollection
I realize that this should have been called size(), but there already exists a deprecated method in Component named size().
numElements
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
public GraphicalObject remove(GraphicalObject gob)
GraphicalObjectCollection
remove
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
gob
- is the Graphical Object ot remove.public Iterator getForwardIterator()
GraphicalObjectCollection
getForwardIterator
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
public Iterator getReverseIterator()
GraphicalObjectCollection
getReverseIterator
in interface GraphicalObjectCollection
edu.berkeley.guir.lib.satin.objects.GraphicalObjectCollection
protected void updateGroupBounds(GraphicalObject gob)
protected void updateGroupBounds()
public String getRelativeLayer(GraphicalObject gob)
GraphicalObjectGroup
getRelativeLayer
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the contained Graphical Object to check out.GraphicalObject.getRelativeLayer()
public void setRelativeLayer(GraphicalObject gob, int layer)
GraphicalObjectGroup
setRelativeLayer
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the contained Graphical Object to move.layer
- is the layer to move to.GraphicalObject.setRelativeLayer(int)
public String getAbsoluteLayer(GraphicalObject gob)
GraphicalObjectGroup
getAbsoluteLayer
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the contained Graphical Object to check out.GraphicalObject.getAbsoluteLayer()
public void bringUpALayer(GraphicalObject gob)
GraphicalObjectGroup
bringUpALayer
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the Graphical Object to move.GraphicalObject.bringUpALayer()
public void bringUpNLayers(GraphicalObject gob, int n)
GraphicalObjectGroup
bringUpNLayers
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the Graphical Object to move.n
- is the number of layers to move.GraphicalObject.bringUpNLayers(int)
public void bringDownALayer(GraphicalObject gob)
GraphicalObjectGroup
bringDownALayer
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the Graphical Object to move.GraphicalObject.bringDownALayer()
public void bringDownNLayers(GraphicalObject gob, int n)
GraphicalObjectGroup
bringDownNLayers
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the Graphical Object to move.n
- is the number of layers to move.GraphicalObject.bringDownNLayers(int)
public void bringToTopLayer(GraphicalObject gob)
GraphicalObjectGroup
bringToTopLayer
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the Graphical Object to move.GraphicalObject.bringToTopLayer()
public void bringToBottomLayer(GraphicalObject gob)
GraphicalObjectGroup
bringToBottomLayer
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the Graphical Object to move.GraphicalObject.bringToBottomLayer()
public void removeAll(GraphicalObjectCollection gobcol)
GraphicalObjectGroup
removeAll
in interface GraphicalObjectGroup
public GraphicalObjectCollection getGraphicalObjects(int cdsys, Point2D pt, int num, int depth, int gettype, double thresh, GraphicalObjectCollection out)
GraphicalObjectGroup
Really big methods like this one are usually a warning sign, but I really don't see any alternatives.
getGraphicalObjects
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
cdsys
- is the coordinate system.pt
- is the point to get the Graphical Objects from.num
- is either SatinConstants.ALL
or
SatinConstants.FIRST
.depth
- is either SatinConstants.SHALLOW
or
SatinConstants.DEEP
gettype
- is the algorithm to use to retrieve, either
SatinConstants.INTERSECTS
,
SatinConstants.CONTAINEDBY
,
SatinConstants.CONTAINS
,
SatinConstants.NEAR
,
SatinConstants.ABOVE
,
SatinConstants.BELOW
,thresh
- is the threshold or halo to retrieve.gobcol
- is the storage for output. Use null to create new space.public GraphicalObjectCollection getGraphicalObjects(int cdsys, double x, double y, int num, int depth, int gettype, double thresh, GraphicalObjectCollection out)
getGraphicalObjects
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
GraphicalObjectGroup.getGraphicalObjects(int, Point2D, int, int, int, double, GraphicalObjectCollection)
public GraphicalObjectCollection getGraphicalObjects(int cdsys, Shape s, int num, int depth, int gettype, double thresh, GraphicalObjectCollection out)
getGraphicalObjects
in interface GraphicalObjectGroup
public GraphicalObjectCollection getGraphicalObjects(GraphicalObject gob, int num, int depth, int gettype, double thresh, GraphicalObjectCollection out)
GraphicalObjectGroup
Really big methods like this one are usually a warning sign, but I really don't see any alternatives.
getGraphicalObjects
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
gob
- is the Graphical Object whose bounding points to use.num
- is either SatinConstants.ALL
or
SatinConstants.FIRST
.depth
- is either SatinConstants.SHALLOW
or
SatinConstants.DEEP
gettype
- is the algorithm to use to retrieve, either
SatinConstants.INTERSECTS
,
SatinConstants.CONTAINEDBY
,
SatinConstants.CONTAINS
,
SatinConstants.NEAR
,
SatinConstants.ABOVE
,
SatinConstants.BELOW
,thresh
- is the threshold or halo to retrieve.gobcol
- is the storage for output. Use null to create new space.public GraphicalObjectCollection getGraphicalObjects(int cdsys, Point2D pt, int num, int depth, int gettype)
getGraphicalObjects
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
GraphicalObjectGroup.getGraphicalObjects(int, Point2D, int, int, int, double, GraphicalObjectCollection)
public GraphicalObjectCollection getGraphicalObjects(int cdsys, double x, double y, int num, int depth, int gettype)
getGraphicalObjects
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
GraphicalObjectGroup.getGraphicalObjects(int, Point2D, int, int, int, double, GraphicalObjectCollection)
public GraphicalObjectCollection getGraphicalObjects(int cdsys, Shape s, int num, int depth, int gettype)
getGraphicalObjects
in interface GraphicalObjectGroup
public GraphicalObjectCollection getGraphicalObjects(GraphicalObject gob, int num, int depth, int gettype)
getGraphicalObjects
in interface GraphicalObjectGroup
edu.berkeley.guir.lib.satin.objects.GraphicalObjectGroup
GraphicalObjectGroup.getGraphicalObjects(GraphicalObject, int, int, int, double, GraphicalObjectCollection)
public void onNotify(Watchable w, Object arg)
Watcher
onNotify
in interface Watcher
edu.berkeley.guir.lib.satin.watch.Watcher
w
- is the Watchable object notifying you.arg
- is some agreed upon argument.Watchable.notifyWatchers()
,
Watchable.notifyWatchers(java.lang.Object)
public void onUpdate(Watchable w, Object arg)
onUpdate
in interface Watcher
edu.berkeley.guir.lib.satin.watch.Watcher
w
- is the Watchable object that has been updated.arg
- is some agreed upon argument.Watchable.notifyWatchersUpdate(Object)
public void onUpdate(Watchable w, String strProperty, Object oldVal, Object newVal)
onUpdate
in interface Watcher
edu.berkeley.guir.lib.satin.watch.Watcher
w
- is the Watchable object that has been updated.strProperty
- is the name of the property to update.oldVal
- is the old value of the property. This should usually
be a clone of the old value, so that modifying this
value should have no effect. Whether this is a copy or
a reference should be defined in the SatinConstants
file.newVal
- is the new value of the property. This should usually
be a clone of the old value, so that modifying this
value should have no effect. However, don't clone
if it is prohibitively expensive to do so. Whether
this is a copy or a reference should be defined in the
SatinConstants file.SatinConstants
,
Watchable.notifyWatchersUpdate(String, Object, Object)
public void onDelete(Watchable w)
Watcher
onDelete
in interface Watcher
edu.berkeley.guir.lib.satin.watch.Watcher
w
- is the Watchable object to be deleted.Watchable.notifyWatchersDelete()
public void notifyWatchersDelete()
Watchable
notifyWatchersDelete
in interface Watchable
notifyWatchersDelete
in class GraphicalObjectImpl
protected GraphicalObject getDispatchee(TimedStroke stk)
Override this method for more interesting behavior on how strokes should be dispatched.
protected boolean shapeContainsInternal(Point2D pt)
GraphicalObjectImpl
shapeContainsInternal
in class GraphicalObjectImpl
protected boolean shapeContainsInternal(Shape s)
GraphicalObjectImpl
shapeContainsInternal
in class GraphicalObjectImpl
protected boolean shapeIntersectsInternal(Shape s)
GraphicalObjectImpl
shapeIntersectsInternal
in class GraphicalObjectImpl
protected void defaultRender(SatinGraphics g)
GraphicalObjectImpl
defaultRender
in class GraphicalObjectImpl
public String toDebugString()
toDebugString
in class GraphicalObjectImpl
public Object clone()
clone
in interface GraphicalObject
clone
in class GraphicalObjectImpl
deepClone()
protected GraphicalObjectGroupImpl clone(GraphicalObjectGroupImpl gobgrpClone)
gobgrpClone
- is the object to clone into (ie gobgrpClone is
the clone that will be returned).GraphicalObjectImpl.clone(GraphicalObjectImpl)
public Object deepClone()
deepClone
in interface GraphicalObject
deepClone
in class GraphicalObjectImpl
clone()
protected GraphicalObjectGroupImpl deepClone(GraphicalObjectGroupImpl newGobGrp)
newGobGrp
- is the object that will be a clone of the current
object. That is, we copy our parameters into newGobGrp.clone()
,
deepClone()
,
GraphicalObjectImpl.clone(GraphicalObjectImpl)
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |