C# Класс NewTOAPIA.UI.GraphicWindow

Наследование: Window, IGraphicGroup
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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