ZoomableViewΒΆ
class ZoomableView
A zoomable layout
Hierarchy
class ZoomableView < class Window
Members
Methods:
| getzoompos | ( ) | Get the zoom and display origin of the ZoomableView |
| setzoompos | (
|
Change the zoom and display origin of the ZoomableView |
| tozoomable | (
|
Transform a couple of window coordinates to the ZoomableView internal coordinates |
Inherited from class Window
Methods:
| addtracker | (
|
Add a tracker to this window. A tracker receives notification when the tracked window is invalidated or destroyed. A tracker may implement onTrackedDestroyed and onTrackedInvalidated to get notifications on such events |
| destroy | ( ) | Destroy the window and all its children windows |
| disable | ( ) | Disable the window |
| enable | ( ) | Enable the window |
| getchild | (
|
Get a child window |
| getcontainer | ( ) | Get the main container of a window |
| geth | ( ) | Get the window height |
| getparent | (
|
Get the first parent window of given class (immediate parent if no class is provided) |
| getroot | ( ) | Return the root window of this window |
| getw | ( ) | Get the window width |
| getx | ( ) | Get the window X coordinate in the parent space |
| gety | ( ) | Get the window Y coordinate in the parent space |
| hide | ( ) | Hide the window |
| removetracker | (
|
Remove a tracker of this window. |
| setcolor | (
|
Change the window color, see also ui.color function |
| setfocus | ( ) | Set the focus to the window |
| seth | (
|
Set the window height |
| settitle | (
|
Change the window title |
| settopmost | ( ) | Set the window as top most in children order |
| setw | (
|
Set the window width |
| setx | (
|
Set the X window placement |
| sety | (
|
Set the Y window placement |
| show | ( ) | Show the window |
Documentation
Get the zoom and display origin of the ZoomableView
Return:
zoom,x,y The current zoom and origin of the ZoomableView
Change the zoom and display origin of the ZoomableView
Arguments:
zoom the new zoomx the X coordinate of the left border of the ZoomableViewy the Y coordinate of the top border of the ZoomableView
Transform a couple of window coordinates to the ZoomableView internal coordinates
Arguments:
x The window X coordinatey The window Y coordinate
Return:
x,y The input coordinates in ZoomableView space