메소드 | 설명 | |
---|---|---|
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 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 |