| Package | ardisia.components.compassContainer |
| Class | public class CompassMinimizedRegion |
| Inheritance | CompassMinimizedRegion spark.components.supportClasses.SkinnableComponent |
Used exclusively by the CompassContainer class.
| Property | Defined By | ||
|---|---|---|---|
| region : String
The region's string description of the cardinal region represented. | CompassMinimizedRegion | ||
| title : String
The region title. | CompassMinimizedRegion | ||
| Method | Defined By | ||
|---|---|---|---|
dispose():void
Remove the container from the display list and remove listeners. | CompassMinimizedRegion | ||
| Method | Defined By | ||
|---|---|---|---|
eventHandler(event:MouseEvent):void
Handles events on the control. | CompassMinimizedRegion | ||
restoreButtonPartHandler(event:Event):void
Handles events on the restore button part. | CompassMinimizedRegion | ||
updateRestoreButtonPart():void
Update the restore button part. | CompassMinimizedRegion | ||
updateTitleLabelPart():void
Update the title label part. | CompassMinimizedRegion | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Float change request. | CompassMinimizedRegion | |||
| Dispatched when the restore button part is clicked. | CompassMinimizedRegion | |||
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.
| Skin State | Description | Defined By | ||
|---|---|---|---|---|
disabled | CompassMinimizedRegion | |||
east | CompassMinimizedRegion | |||
north | CompassMinimizedRegion | |||
south | CompassMinimizedRegion | |||
west | CompassMinimizedRegion | |||
| region | property |
region:StringThe region's string description of the cardinal region represented. Used to set the skin state.
The default value is null.
public function get region():String public function set region(value:String):void| title | property |
title:StringThe region title.
The default value is null.
public function get title():String public function set title(value:String):void| dispose | () | method |
public function dispose():voidRemove the container from the display list and remove listeners.
| eventHandler | () | method |
protected function eventHandler(event:MouseEvent):voidHandles events on the control.
Parameters
event:MouseEvent — the MouseEvent that triggered the handler
|
| restoreButtonPartHandler | () | method |
protected function restoreButtonPartHandler(event:Event):voidHandles events on the restore button part.
Parameters
event:Event — the Event that triggered the handler
|
| updateRestoreButtonPart | () | method |
protected function updateRestoreButtonPart():voidUpdate the restore button part.
| updateTitleLabelPart | () | method |
protected function updateTitleLabelPart():voidUpdate the title label part.
| floatChangeRequest | Event |
ardisia.components.compassContainer.events.CompassContainerEventardisia.components.compassContainer.events.CompassContainerEventFloat change request.
| restoreRegionRequest | Event |
ardisia.components.compassContainer.events.CompassContainerEventardisia.components.compassContainer.events.CompassContainerEventDispatched when the restore button part is clicked.