C# Class NewTOAPIA.UI.GraphicGroup

Inheritance: Graphic, IGraphicGroup
显示文件 Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
AddGraphic ( IGraphic aGraphic ) : void
AddGraphic ( IGraphic aGraphic, IGraphic before ) : void
AddGraphicAfter ( IGraphic aGraphic, IGraphic after ) : void
CountGraphics ( ) : int
DrawChildren ( DrawEvent devent ) : void
DrawSelf ( DrawEvent devent ) : void
GraphicAt ( int index ) : IGraphic
GraphicGroup ( String name ) : System
GraphicGroup ( String name, RectangleI rect ) : System
GraphicGroup ( String name, int x, int y, int width, int height ) : System
GraphicGroup ( String name, int x, int y, int width, int height, ILayoutManager layout ) : System
GraphicNamed ( string graphicName ) : IGraphic
GraphicNamedRecurse ( string graphicName ) : IGraphic
GraphicsAt ( int x, int y, Stack &coll ) : void
MoveBy ( int x, int y ) : void
MoveGraphicToFront ( IGraphic graphic ) : void
OnGraphicAdded ( IGraphic aGraphic ) : void
RemoveAllGraphics ( ) : void
RemoveGraphic ( IGraphic aGraphic ) : bool

Protected Methods

Method Description
OnSetContainer ( ) : void
OnUpdateGeometryState ( ) : void

When geometry changes, we might want to relayout graphics, propagate world transforms, regather bounding rectangles and the like.

Method Details

AddGraphic() public method

public AddGraphic ( IGraphic aGraphic ) : void
aGraphic IGraphic
return void

AddGraphic() public method

public AddGraphic ( IGraphic aGraphic, IGraphic before ) : void
aGraphic IGraphic
before IGraphic
return void

AddGraphicAfter() public method

public AddGraphicAfter ( IGraphic aGraphic, IGraphic after ) : void
aGraphic IGraphic
after IGraphic
return void

CountGraphics() public method

public CountGraphics ( ) : int
return int

DrawChildren() public method

public DrawChildren ( DrawEvent devent ) : void
devent DrawEvent
return void

DrawSelf() public method

public DrawSelf ( DrawEvent devent ) : void
devent DrawEvent
return void

GraphicAt() public method

public GraphicAt ( int index ) : IGraphic
index int
return IGraphic

GraphicGroup() public method

public GraphicGroup ( String name ) : System
name String
return System

GraphicGroup() public method

public GraphicGroup ( String name, RectangleI rect ) : System
name String
rect RectangleI
return System

GraphicGroup() public method

public GraphicGroup ( String name, int x, int y, int width, int height ) : System
name String
x int
y int
width int
height int
return System

GraphicGroup() public method

public GraphicGroup ( String name, int x, int y, int width, int height, ILayoutManager layout ) : System
name String
x int
y int
width int
height int
layout ILayoutManager
return System

GraphicNamed() public method

public GraphicNamed ( string graphicName ) : IGraphic
graphicName string
return IGraphic

GraphicNamedRecurse() public method

public GraphicNamedRecurse ( string graphicName ) : IGraphic
graphicName string
return IGraphic

GraphicsAt() public method

public GraphicsAt ( int x, int y, Stack &coll ) : void
x int
y int
coll Stack
return void

MoveBy() public method

public MoveBy ( int x, int y ) : void
x int
y int
return void

MoveGraphicToFront() public method

public MoveGraphicToFront ( IGraphic graphic ) : void
graphic IGraphic
return void

OnGraphicAdded() public method

public OnGraphicAdded ( IGraphic aGraphic ) : void
aGraphic IGraphic
return void

OnSetContainer() protected method

protected OnSetContainer ( ) : void
return void

OnUpdateGeometryState() protected method

When geometry changes, we might want to relayout graphics, propagate world transforms, regather bounding rectangles and the like.
protected OnUpdateGeometryState ( ) : void
return void

RemoveAllGraphics() public method

public RemoveAllGraphics ( ) : void
return void

RemoveGraphic() public method

public RemoveGraphic ( IGraphic aGraphic ) : bool
aGraphic IGraphic
return bool