dynapi.gui.Stacker - Quick Reference
Constructor
-
Stacker()
Events
-
- ...
Public Methods
- add(layer)
- add the refrence of the layer to the stacker object
- ...
- toString()
- returns all layers added
- ...
- remove(layer)
- removes the refrence of the layer in the stacker object
- ...
- setSpace(int)
- sets the space between the layers added to the stacker
- ...
- getSpace()
- returns the space between the layers added to the stacker
- ...
- setAlignment(str)
- valid input is 'h' or 'v'
- ...
- setPosition(x,y)
- this overrides the positioning instead of using the first layer
added to the stacker for x and y position
- ...
- getX()
- returns the x postion
- ...
- getY()
- returns the y postion
- ...
- getFirstObject()
- returns the refrence to the first layer in the stacker object
- ...
- move(layer,positions)
- moves the layer (that is added to the stacker x positions up and
down the hirarchy in the stacker). Both negative and positive numbers
can be used.) After using this, use generate to see the changes made.
- ...
- generate()
- generates the stacker and building and rearanging the layers added
to it.
- ...
Private Methods
- ...
Static Methods
[none]