| Method | Defined by | ||
|---|---|---|---|
|
addExtraControl(c:Component, position:int):void
Adds extra control to title bar
| FrameTitleBar | ||
| FrameTitleBar | |||
| FrameTitleBar | |||
| FrameTitleBar | |||
| FrameTitleBar | |||
| FrameTitleBar | |||
| FrameTitleBar | |||
| FrameTitleBar | |||
|
Returns the component(must be FrameTitleBar instance self, that means the implamentation
must extends Component and getPane() return itself) that represents the title bar.
| FrameTitleBar | ||
|
getText():String
| FrameTitleBar | ||
|
isTitleEnabled():Boolean
Returns is title enabled.
| FrameTitleBar | ||
|
Returns the extra control already added.
| FrameTitleBar | ||
|
setCloseButton(b:AbstractButton):void
| FrameTitleBar | ||
|
Sets the owner of this title bar.
| FrameTitleBar | ||
| FrameTitleBar | |||
|
setIconifiedButton(b:AbstractButton):void
| FrameTitleBar | ||
|
setMaximizeButton(b:AbstractButton):void
| FrameTitleBar | ||
|
setRestoreButton(b:AbstractButton):void
| FrameTitleBar | ||
|
setText(t:String):void
| FrameTitleBar | ||
|
setTitleEnabled(b:Boolean):void
Sets the enabled property, if enabled, the title should have ability to iconified, maximize, restore, close, move frame.
| FrameTitleBar | ||
|
updateUIPropertiesFromOwner():void
This method will be call when owner ui changed.
| FrameTitleBar | ||
| addExtraControl | () | method |
public function addExtraControl(c:Component, position:int):voidAdds extra control to title bar
Parametersc:Component — the control
|
|
position:int — left or right behind the title buttons.
AsWingConstants.LEFT or AsWingConstants.RIGHT
|
| getCloseButton | () | method |
| getFrame | () | method |
| getIcon | () | method |
| getIconifiedButton | () | method |
| getLabel | () | method |
| getMaximizeButton | () | method |
| getRestoreButton | () | method |
| getSelf | () | method |
public function getSelf():ComponentReturns the component(must be FrameTitleBar instance self, that means the implamentation must extends Component and getPane() return itself) that represents the title bar.
ReturnsComponent |
| getText | () | method |
public function getText():String
Returns
String |
| isTitleEnabled | () | method |
public function isTitleEnabled():BooleanReturns is title enabled.
ReturnsBoolean |
See also
| removeExtraControl | () | method |
public function removeExtraControl(c:Component):ComponentReturns the extra control already added.
Parametersc:Component |
Component |
| setCloseButton | () | method |
| setFrame | () | method |
public function setFrame(frame:JWindow):voidSets the owner of this title bar. null to uninstall from current frame. You can set a JFrame or a JWindow, if it is JWindow, some function will be lost.
Parametersframe:JWindow |
| setIcon | () | method |
| setIconifiedButton | () | method |
| setMaximizeButton | () | method |
| setRestoreButton | () | method |
| setText | () | method |
public function setText(t:String):voidParameters
t:String |
| setTitleEnabled | () | method |
public function setTitleEnabled(b:Boolean):voidSets the enabled property, if enabled, the title should have ability to iconified, maximize, restore, close, move frame. If not enabled, that abilities should be disabled.
Parametersb:Boolean |
| updateUIPropertiesFromOwner | () | method |
public function updateUIPropertiesFromOwner():voidThis method will be call when owner ui changed.