Class
zebkit.ui.Toolbar
extends <zebkit.ui.Panel> |
<zebkit.ui> |
Toolbar UI component. Handy way to place number of click able elements
zebkit.ui.Toolbar
(
)
public | <zebkit.ui.Panel> | addDecorative (c) |
public | <zebkit.ui.Panel> | addImage (img) |
public | <zebkit.ui.Panel> | addLine ( ) |
public | <zebkit.ui.Panel> | addRadio (g, c) |
public | <zebkit.ui.Panel> | addSwitcher (c) |
protected
|
<Boolean> | isDecorative (c) |
public | void | setStateProperties (s) |
public
<zebkit.ui.Panel>
addDecorative (c )
Add the given component as decorative element of the toolbar. Decorative elements don't fire event and cannot be pressed Parameters:
Returns:
<zebkit.ui.Panel>
a component that has been added |
public
<zebkit.ui.Panel>
addImage (img )
Add an image as the toolbar element Parameters:
Returns:
<zebkit.ui.Panel>
a component that has been added |
public
<zebkit.ui.Panel>
addLine ( )
Add line to the toolbar component. Line is a decorative ] element that logically splits toolbar elements. Line as any other decorative element doesn't fire event
Returns:
<zebkit.ui.Panel>
a component that has been added |
public
<zebkit.ui.Panel>
addRadio (g, c )
Add a radio box as the toolbar element that belongs to the given group and has the specified content component Parameters:
Returns:
<zebkit.ui.Panel>
a component that has been added |
public
<zebkit.ui.Panel>
addSwitcher (c )
Add a check box as the toolbar element with the specified content component Parameters:
Returns:
<zebkit.ui.Panel>
a component that has been added |
protected
<Boolean>
isDecorative (c )
Test if the given component is a decorative element in the toolbar Parameters:
Returns:
<Boolean>
return true if the component is decorative element of the toolbar |
public
chainable
setStateProperties (s )
Set properties set for the states Parameters:
|












pressed
Fired when a toolbar element has been pressed
Parameters:
|