interface org.aswing.FrameTitleBar
Implementors | ||||
![]() | JFrameTitleBar |
|
Instance Fields
function addExtraControl(c:Component, position:Int): Void
Adds extra control to title bar
c | the control |
position | left or right behind the title buttons.
|
Returns the component(must be FrameTitleBar instance self, that means the implamentation must extends Component and getPane() return itself) that represents the title bar.
function removeExtraControl(c:Component): Component
Returns the extra control already added.
returns | the removed control, null will be returned if the control is not in title bar. |
function setFrame(frame:JWindow): Void
Sets 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.
function setTitleEnabled(b:Bool): Void
Sets 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.