C# 클래스 NewTOAPIA.UI.GraphicWindow

상속: Window, IGraphicGroup
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

보호된 프로퍼티들

프로퍼티 타입 설명
fIsDepressed bool
fLastMouse NewTOAPIA.Graphics.Point2I
fTracking bool

공개 메소드들

메소드 설명
AddGraphic ( IGraphic aGraphic ) : void
AddGraphic ( IGraphic aGraphic, IGraphic before ) : void
AddGraphicAfter ( IGraphic aGraphic, IGraphic after ) : void
Contains ( int x, int y ) : bool
CountGraphics ( ) : int
Draw ( DrawEvent devent ) : void
DrawChildren ( DrawEvent devent ) : void
GraphicAt ( int index ) : IGraphic
GraphicNamed ( string graphicName ) : IGraphic
GraphicNamedRecurse ( string graphicName ) : IGraphic
GraphicWindow ( string title, int x, int y, int width, int height ) : System
GraphicsAt ( int x, int y, Stack &coll ) : void

Return a stack of graphics that are located under the point. The graphic hierarchy is traversed from the parent most, to the child most. The child that is the closest to the top of the visual stack will be the first in the stack. The parent parent will be at the bottom of the stack. This allows events such as mouse tracking to hit the closest graphic first, and purcolate up to the parent if none of the children do anything with it.

MouseTrackerAt ( int x, int y ) : IGraphic
MoveGraphicToFront ( IGraphic graphic ) : void
OnGraphicAdded ( IGraphic aGraphic ) : void
OnKeyDown ( KeyboardActivityArgs ke ) : void
OnKeyPress ( KeyboardActivityArgs ke ) : void
OnKeyUp ( KeyboardActivityArgs ke ) : void
OnMouseDown ( MouseActivityArgs e ) : void
OnMouseEnter ( MouseActivityArgs e ) : void
OnMouseMove ( MouseActivityArgs e ) : void
OnMouseUp ( MouseActivityArgs e ) : void
OnPaint ( DrawEvent devent ) : void
RemoveAllGraphics ( ) : void
RemoveGraphic ( IGraphic aGraphic ) : bool
UpdateBoundaryState ( ) : void
UpdateGeometryState ( ) : void

보호된 메소드들

메소드 설명
OnGraphicRemoved ( IGraphic graphic ) : void

메소드 상세

AddGraphic() 공개 메소드

public AddGraphic ( IGraphic aGraphic ) : void
aGraphic IGraphic
리턴 void

AddGraphic() 공개 메소드

public AddGraphic ( IGraphic aGraphic, IGraphic before ) : void
aGraphic IGraphic
before IGraphic
리턴 void

AddGraphicAfter() 공개 메소드

public AddGraphicAfter ( IGraphic aGraphic, IGraphic after ) : void
aGraphic IGraphic
after IGraphic
리턴 void

Contains() 공개 메소드

public Contains ( int x, int y ) : bool
x int
y int
리턴 bool

CountGraphics() 공개 메소드

public CountGraphics ( ) : int
리턴 int

Draw() 공개 메소드

public Draw ( DrawEvent devent ) : void
devent DrawEvent
리턴 void

DrawChildren() 공개 메소드

public DrawChildren ( DrawEvent devent ) : void
devent DrawEvent
리턴 void

GraphicAt() 공개 메소드

public GraphicAt ( int index ) : IGraphic
index int
리턴 IGraphic

GraphicNamed() 공개 메소드

public GraphicNamed ( string graphicName ) : IGraphic
graphicName string
리턴 IGraphic

GraphicNamedRecurse() 공개 메소드

public GraphicNamedRecurse ( string graphicName ) : IGraphic
graphicName string
리턴 IGraphic

GraphicWindow() 공개 메소드

public GraphicWindow ( string title, int x, int y, int width, int height ) : System
title string
x int
y int
width int
height int
리턴 System

GraphicsAt() 공개 메소드

Return a stack of graphics that are located under the point. The graphic hierarchy is traversed from the parent most, to the child most. The child that is the closest to the top of the visual stack will be the first in the stack. The parent parent will be at the bottom of the stack. This allows events such as mouse tracking to hit the closest graphic first, and purcolate up to the parent if none of the children do anything with it.
public GraphicsAt ( int x, int y, Stack &coll ) : void
x int
y int
coll Stack
리턴 void

MouseTrackerAt() 공개 메소드

public MouseTrackerAt ( int x, int y ) : IGraphic
x int
y int
리턴 IGraphic

MoveGraphicToFront() 공개 메소드

public MoveGraphicToFront ( IGraphic graphic ) : void
graphic IGraphic
리턴 void

OnGraphicAdded() 공개 메소드

public OnGraphicAdded ( IGraphic aGraphic ) : void
aGraphic IGraphic
리턴 void

OnGraphicRemoved() 보호된 메소드

protected OnGraphicRemoved ( IGraphic graphic ) : void
graphic IGraphic
리턴 void

OnKeyDown() 공개 메소드

public OnKeyDown ( KeyboardActivityArgs ke ) : void
ke KeyboardActivityArgs
리턴 void

OnKeyPress() 공개 메소드

public OnKeyPress ( KeyboardActivityArgs ke ) : void
ke KeyboardActivityArgs
리턴 void

OnKeyUp() 공개 메소드

public OnKeyUp ( KeyboardActivityArgs ke ) : void
ke KeyboardActivityArgs
리턴 void

OnMouseDown() 공개 메소드

public OnMouseDown ( MouseActivityArgs e ) : void
e MouseActivityArgs
리턴 void

OnMouseEnter() 공개 메소드

public OnMouseEnter ( MouseActivityArgs e ) : void
e MouseActivityArgs
리턴 void

OnMouseMove() 공개 메소드

public OnMouseMove ( MouseActivityArgs e ) : void
e MouseActivityArgs
리턴 void

OnMouseUp() 공개 메소드

public OnMouseUp ( MouseActivityArgs e ) : void
e MouseActivityArgs
리턴 void

OnPaint() 공개 메소드

public OnPaint ( DrawEvent devent ) : void
devent DrawEvent
리턴 void

RemoveAllGraphics() 공개 메소드

public RemoveAllGraphics ( ) : void
리턴 void

RemoveGraphic() 공개 메소드

public RemoveGraphic ( IGraphic aGraphic ) : bool
aGraphic IGraphic
리턴 bool

UpdateBoundaryState() 공개 메소드

public UpdateBoundaryState ( ) : void
리턴 void

UpdateGeometryState() 공개 메소드

public UpdateGeometryState ( ) : void
리턴 void

프로퍼티 상세

fIsDepressed 보호되어 있는 프로퍼티

protected bool fIsDepressed
리턴 bool

fLastMouse 보호되어 있는 프로퍼티

protected Point2I,NewTOAPIA.Graphics fLastMouse
리턴 NewTOAPIA.Graphics.Point2I

fTracking 보호되어 있는 프로퍼티

protected bool fTracking
리턴 bool