|
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 GraphicalObjectImplpublic GraphicalObject add(GraphicalObject gob)
add in interface GraphicalObjectCollectiongob - is a GraphicalObject whose coordinates have already
been transformed to this group's coordinate system.GraphicalObjectGroup.KEEP_REL_POSpublic GraphicalObject addToBack(GraphicalObject gob)
addToBack in interface GraphicalObjectCollectiongob - is a GraphicalObject whose coordinates have already
been transformed to this group's coordinate system.GraphicalObjectGroup.KEEP_REL_POSpublic GraphicalObject addToFront(GraphicalObject gob)
addToFront in interface GraphicalObjectCollectiongob - 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 GraphicalObjectCollectionindex - 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)
GraphicalObjectGroupadd in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - 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)
GraphicalObjectGroupaddToBack in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - 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)
GraphicalObjectGroupaddToFront in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - 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)
GraphicalObjectGroupadd in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupindex - 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()
GraphicalObjectCollectionclear in interface GraphicalObjectCollectionpublic boolean contains(GraphicalObject gob)
GraphicalObjectCollectionGraphicalObject.shapeContains(GraphicalObject).contains in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectionpublic GraphicalObject get(int index)
GraphicalObjectCollectionget in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectionindex - 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()
GraphicalObjectCollectiongetFirst in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectionpublic GraphicalObject getLast()
GraphicalObjectCollectiongetLast in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectionpublic GraphicalObject getID(int id)
GraphicalObjectCollectiongetID in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectionid - is the unique ID of the GraphicalObject to retrieve.public Rectangle2D getCollectionBounds2D(int cdsys)
GraphicalObjectCollectiongetCollectionBounds2D in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectioncdsys - is the coordinate system to use.
public Rectangle2D getCollectionBounds2D(int cdsys,
Rectangle2D rect)
GraphicalObjectCollectiongetCollectionBounds2D in interface GraphicalObjectCollectionpublic int indexOf(GraphicalObject gob)
GraphicalObjectCollectionindexOf in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectiongob - is the Graphical Object to look for.public boolean isEmpty()
GraphicalObjectCollectionisEmpty in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectionpublic void sort(Comparator c)
sort in interface GraphicalObjectCollectionpublic int numElements()
GraphicalObjectCollectionI realize that this should have been called size(), but there already exists a deprecated method in Component named size().
numElements in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectionpublic GraphicalObject remove(GraphicalObject gob)
GraphicalObjectCollectionremove in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectiongob - is the Graphical Object ot remove.public Iterator getForwardIterator()
GraphicalObjectCollectiongetForwardIterator in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectionpublic Iterator getReverseIterator()
GraphicalObjectCollectiongetReverseIterator in interface GraphicalObjectCollectionedu.berkeley.guir.lib.satin.objects.GraphicalObjectCollectionprotected void updateGroupBounds(GraphicalObject gob)
protected void updateGroupBounds()
public String getRelativeLayer(GraphicalObject gob)
GraphicalObjectGroupgetRelativeLayer in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the contained Graphical Object to check out.GraphicalObject.getRelativeLayer()
public void setRelativeLayer(GraphicalObject gob,
int layer)
GraphicalObjectGroupsetRelativeLayer in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the contained Graphical Object to move.layer - is the layer to move to.GraphicalObject.setRelativeLayer(int)public String getAbsoluteLayer(GraphicalObject gob)
GraphicalObjectGroupgetAbsoluteLayer in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the contained Graphical Object to check out.GraphicalObject.getAbsoluteLayer()public void bringUpALayer(GraphicalObject gob)
GraphicalObjectGroupbringUpALayer in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the Graphical Object to move.GraphicalObject.bringUpALayer()
public void bringUpNLayers(GraphicalObject gob,
int n)
GraphicalObjectGroupbringUpNLayers in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the Graphical Object to move.n - is the number of layers to move.GraphicalObject.bringUpNLayers(int)public void bringDownALayer(GraphicalObject gob)
GraphicalObjectGroupbringDownALayer in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the Graphical Object to move.GraphicalObject.bringDownALayer()
public void bringDownNLayers(GraphicalObject gob,
int n)
GraphicalObjectGroupbringDownNLayers in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the Graphical Object to move.n - is the number of layers to move.GraphicalObject.bringDownNLayers(int)public void bringToTopLayer(GraphicalObject gob)
GraphicalObjectGroupbringToTopLayer in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the Graphical Object to move.GraphicalObject.bringToTopLayer()public void bringToBottomLayer(GraphicalObject gob)
GraphicalObjectGroupbringToBottomLayer in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the Graphical Object to move.GraphicalObject.bringToBottomLayer()public void removeAll(GraphicalObjectCollection gobcol)
GraphicalObjectGroupremoveAll in interface GraphicalObjectGroup
public GraphicalObjectCollection getGraphicalObjects(int cdsys,
Point2D pt,
int num,
int depth,
int gettype,
double thresh,
GraphicalObjectCollection out)
GraphicalObjectGroupReally big methods like this one are usually a warning sign, but I really don't see any alternatives.
getGraphicalObjects in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupcdsys - 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.DEEPgettype - 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 GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupGraphicalObjectGroup.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)
GraphicalObjectGroupReally big methods like this one are usually a warning sign, but I really don't see any alternatives.
getGraphicalObjects in interface GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupgob - is the Graphical Object whose bounding points to use.num - is either SatinConstants.ALL or
SatinConstants.FIRST.depth - is either SatinConstants.SHALLOW or
SatinConstants.DEEPgettype - 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 GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupGraphicalObjectGroup.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 GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupGraphicalObjectGroup.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 GraphicalObjectGroupedu.berkeley.guir.lib.satin.objects.GraphicalObjectGroupGraphicalObjectGroup.getGraphicalObjects(GraphicalObject, int, int, int, double, GraphicalObjectCollection)
public void onNotify(Watchable w,
Object arg)
WatcheronNotify in interface Watcheredu.berkeley.guir.lib.satin.watch.Watcherw - 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 Watcheredu.berkeley.guir.lib.satin.watch.Watcherw - 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 Watcheredu.berkeley.guir.lib.satin.watch.Watcherw - 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)
WatcheronDelete in interface Watcheredu.berkeley.guir.lib.satin.watch.Watcherw - is the Watchable object to be deleted.Watchable.notifyWatchersDelete()public void notifyWatchersDelete()
WatchablenotifyWatchersDelete in interface WatchablenotifyWatchersDelete in class GraphicalObjectImplprotected GraphicalObject getDispatchee(TimedStroke stk)
Override this method for more interesting behavior on how strokes should be dispatched.
protected boolean shapeContainsInternal(Point2D pt)
GraphicalObjectImplshapeContainsInternal in class GraphicalObjectImplprotected boolean shapeContainsInternal(Shape s)
GraphicalObjectImplshapeContainsInternal in class GraphicalObjectImplprotected boolean shapeIntersectsInternal(Shape s)
GraphicalObjectImplshapeIntersectsInternal in class GraphicalObjectImplprotected void defaultRender(SatinGraphics g)
GraphicalObjectImpldefaultRender in class GraphicalObjectImplpublic String toDebugString()
toDebugString in class GraphicalObjectImplpublic Object clone()
clone in interface GraphicalObjectclone in class GraphicalObjectImpldeepClone()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 GraphicalObjectdeepClone in class GraphicalObjectImplclone()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 | |||||||||