class Component
package minimalcomps.components
extends
extended by Chart, Accordion, CheckBox, ColorChooser, ComboBox, FPSMeter, HBox, IndicatorLight, InputText, Knob, Label, List, ListItem, Meter, NumericStepper, Panel, ProgressBar, PushButton, RadioButton, RangeSlider, RotarySelector, ScrollBar, Slider, Text, UISlider, VBox, WheelMenu, Window
Base class for all components
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this component. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
Variables
Methods
move (xpos:Float, ypos:Float):Void
Moves the component to the specified position.
Parameters:
xpos | the x position to move the component |
---|---|
ypos | the y position to move the component |
setSize (w:Float, h:Float):Void
Sets the size of the component.
Parameters:
w | The width of the component. |
---|---|
h | The height of the component. |