Метод | Описание | |
---|---|---|
ClearSelection ( ) : void |
Reset the list of select objects
|
|
SelectionCanvas ( IWidget widget ) : System |
Метод | Описание | |
---|---|---|
ClearObjects ( ) : void |
Clears the objects.
|
|
CursorMoved ( Point coords ) : void |
Called when the cursor is being moved. Highlights objects when the cursor passes over them.
|
|
Dispose ( bool disposing ) : void | ||
GetSelection ( Point coords, bool inMotion = false, bool skipSelected = false ) : |
||
HandleLeftButton ( Point coords, ButtonModifier modif ) : void | ||
HandleMotionEvent ( Point coords ) : void | ||
HandleRightButton ( Point coords, ButtonModifier modif ) : void | ||
SelectionChanged ( List |
Notifies subclasses when the selected objects has changed.
|
|
SelectionMoved ( |
Notifies subclasses when an object has been moved.
|
|
ShowMenu ( Point coords ) : void |
Notifies subclasses a menu should be displayed. Canvas' with menus should override it to display their menu here.
|
|
StartMove ( |
Notifies subclasses when an object starts to be moved.
|
|
StopMove ( bool moved ) : void |
Notifies subclass when the move process stops.
|
|
UpdateSelection ( |
Updates the current selection. If sel is
|
Метод | Описание | |
---|---|---|
HandleButtonPressEvent ( Point coords, uint time, ButtonType type, ButtonModifier modifier ) : void | ||
HandleButtonReleasedEvent ( Point coords, ButtonType type, ButtonModifier modifier ) : void | ||
HandleShowTooltipEvent ( Point coords ) : void |
protected CursorMoved ( Point coords ) : void | ||
coords | Point | Coords. |
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
protected GetSelection ( Point coords, bool inMotion = false, bool skipSelected = false ) : |
||
coords | Point | |
inMotion | bool | |
skipSelected | bool | |
Результат |
protected HandleLeftButton ( Point coords, ButtonModifier modif ) : void | ||
coords | Point | |
modif | ButtonModifier | |
Результат | void |
protected HandleMotionEvent ( Point coords ) : void | ||
coords | Point | |
Результат | void |
protected HandleRightButton ( Point coords, ButtonModifier modif ) : void | ||
coords | Point | |
modif | ButtonModifier | |
Результат | void |
public SelectionCanvas ( IWidget widget ) : System | ||
widget | IWidget | |
Результат | System |
protected SelectionChanged ( List |
||
sel | List |
List of selected objects. |
Результат | void |
protected SelectionMoved ( |
||
sel | The selection moved. | |
Результат | void |
protected ShowMenu ( Point coords ) : void | ||
coords | Point | Position where the click happens. |
Результат | void |
protected StartMove ( |
||
sel | The selection moved. | |
Результат | void |
protected StopMove ( bool moved ) : void | ||
moved | bool | If set to |
Результат | void |
protected UpdateSelection ( |
||
sel | The selection. | |
notify | bool | If set to |
Результат | void |