|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--GP.Graphics.Shape
|
+--GP.Containers.Manager
|
+--GP.Graphics.Composite
| Fields inherited from class GP.Graphics.Shape |
ourNumShapes |
| Constructor Summary | |
Composite()
|
|
Composite(Container container)
|
|
| Method Summary | |
Position |
GetOffset()
|
Position |
GetPosition()
This method should return the current position of the object. |
Size |
GetSize()
This method should return the current size of the object. |
boolean |
IsPositionInside(Position position)
This methods should determine whether the position passed into it is inside the graphical boundries of the object, and return the result of that calculation. |
void |
Move(double x,
double y)
|
void |
Move(Value x,
Value y)
|
void |
Move(Velocity velocity)
|
boolean |
PositionIsOnlyInsideMe(Position position)
This method should determine whether the position passed into it is inside the graphical boundries of the object, but not within any of its sub-objects, and return the result of that calculation. |
void |
SetColor(Color color)
This method should set the current color of the object. |
void |
SetPosition(Position position)
This method should set the current position of the object. |
| Methods inherited from class GP.Containers.Manager |
AddItem, ApplyBehaviors, ApplyInstincts, Copy, DisableClipping, DoForEach, EnableClipping, GetActiveGraphic, GetComponent, GetGPGraphic, GetGraphic, GetItemsList, GetRandomPosition, GetSource, GetTopLevel, NeedToUpdate, NumberOfItems, ObjectSelected, PreferedSize, Realize, Refresh, RemoveAllItems, RemoveItem, Scale, SetBorderWidth, SetGeometryManager, SetHorizontalAligner, SetSelectionReactor, SetSize, SetVerticalAligner, toString |
| Methods inherited from class GP.Graphics.Shape |
Act, AddBehavior, DeSelect, equals, Fill, Frame, GetApplet, GetBoxBoundedSize, GetColor, GetContainer, GetCurrentTime, GetFillStyle, GetOrientation, GetPivot, Hide, IsVisible, MoveBackward, MoveForward, MoveToBack, MoveToFront, Pause, Play, React, RemoveAllBehaviors, RemoveBehavior, ReplaceAllBehaviors, Scale, Scale, Select, SetContainer, SetFillStyle, SetOrientation, SetPivot, Show, Show, Start, Stop, Turn, Turn, Turn, Turn, Turn, Turn |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface GP.Scalable |
Scale, Scale |
| Methods inherited from interface GP.Viewable |
Hide, IsVisible, Show |
| Methods inherited from interface GP.Playable |
GetCurrentTime, Pause, Play, Stop |
| Methods inherited from interface GP.Colorable |
GetColor |
| Constructor Detail |
public Composite()
public Composite(Container container)
| Method Detail |
public boolean PositionIsOnlyInsideMe(Position position)
GraphicIsPositionInside(GP.Attributes.Position), but may differ when
dealing with composite structures such as
GP.MultiManagersPositionIsOnlyInsideMe in class GP.Containers.ManagerGP.Graphicposition - the position in questionpublic boolean IsPositionInside(Position position)
GraphicIsPositionInside in class ShapeGP.Graphicposition - the position in questionpublic void SetColor(Color color)
ColorableSetColor in class ShapeGP.Colorablecolor - the new colorpublic Size GetSize()
ScalableGetSize in class GP.Containers.ManagerGP.Scalable
public void Move(double x,
double y)
Move in class Shape
public void Move(Value x,
Value y)
Move in class Shapepublic void Move(Velocity velocity)
Move in class Shapepublic void SetPosition(Position position)
PositionableSetPosition in class ShapeGP.Positionableposition - the new positionpublic Position GetPosition()
PositionableGetPosition in class ShapeGP.Positionablepublic Position GetOffset()
GetOffset in class GP.Containers.ManagerGP.PackageFriendlyContainer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||