C# Class LongoMatch.Drawing.CanvasObjects.Timeline.TimelineObject

Inheritance: CanvasObject, ICanvasSelectableObject
Mostrar archivo Open project: GNOME/longomatch Class Usage Examples

Protected Properties

Property Type Description
maxTime LongoMatch.Core.Store.Time
nodes List
selectionBorderL ISurface

Public Methods

Method Description
AddNode ( TimeNodeObject o ) : void
Draw ( IDrawingToolkit tk, Area area ) : void
GetSelection ( Point point, double precision, bool inMotion = false ) : Selection
Move ( Selection s, Point p, Point start ) : void
RemoveNode ( TimeNode node ) : void
TimelineObject ( Time maxTime, int height, double offsetY, Color background ) : System

Protected Methods

Method Description
ClearObjects ( ) : void
Dispose ( bool disposing ) : void
DrawBackground ( IDrawingToolkit tk, Area area ) : void
HandleRedrawEvent ( ICanvasObject co, Area area ) : void
RemoveObject ( TimeNodeObject to, bool full ) : void
TimeNodeObjectIsVisible ( TimeNodeObject tn ) : bool

Private Methods

Method Description
LoadBorder ( string name ) : ISurface

Method Details

AddNode() public method

public AddNode ( TimeNodeObject o ) : void
o TimeNodeObject
return void

ClearObjects() protected method

protected ClearObjects ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Draw() public method

public Draw ( IDrawingToolkit tk, Area area ) : void
tk IDrawingToolkit
area LongoMatch.Core.Common.Area
return void

DrawBackground() protected method

protected DrawBackground ( IDrawingToolkit tk, Area area ) : void
tk IDrawingToolkit
area LongoMatch.Core.Common.Area
return void

GetSelection() public method

public GetSelection ( Point point, double precision, bool inMotion = false ) : Selection
point Point
precision double
inMotion bool
return LongoMatch.Core.Store.Drawables.Selection

HandleRedrawEvent() protected method

protected HandleRedrawEvent ( ICanvasObject co, Area area ) : void
co ICanvasObject
area LongoMatch.Core.Common.Area
return void

Move() public method

public Move ( Selection s, Point p, Point start ) : void
s LongoMatch.Core.Store.Drawables.Selection
p Point
start Point
return void

RemoveNode() public method

public RemoveNode ( TimeNode node ) : void
node LongoMatch.Core.Store.TimeNode
return void

RemoveObject() protected method

protected RemoveObject ( TimeNodeObject to, bool full ) : void
to TimeNodeObject
full bool
return void

TimeNodeObjectIsVisible() protected method

protected TimeNodeObjectIsVisible ( TimeNodeObject tn ) : bool
tn TimeNodeObject
return bool

TimelineObject() public method

public TimelineObject ( Time maxTime, int height, double offsetY, Color background ) : System
maxTime LongoMatch.Core.Store.Time
height int
offsetY double
background Color
return System

Property Details

maxTime protected_oe property

protected Time,LongoMatch.Core.Store maxTime
return LongoMatch.Core.Store.Time

nodes protected_oe property

protected List nodes
return List

selectionBorderL protected_oe property

protected ISurface selectionBorderL
return ISurface