LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.graphic
Interface LyGraphicalToolBar

All Superinterfaces:
LyFreeInterface, LyGraphicalComponent, LySetColorInterface, LySetImageInterface, LyViewComponent
All Known Implementing Classes:
LyJQToolbar, LyMobileToolBar, LyStrutsToolBar, LySwingToolBar

public interface LyGraphicalToolBar
extends LyGraphicalComponent, LySetImageInterface, LySetColorInterface

The LyGraphicalToolBar interface represents the abstract graphical component for the toolBar of views.dtd regardless of the target (swing, swt, dhtml...).

See Also:
LyToolBar

Field Summary
static java.lang.String __VERSION
           
 
Method Summary
 void addComponent(LyComponent components, int pos)
          Inserts a sub-component components at given position.
 void removeComponent(LyComponent components)
          Removes a sub-component components.
 void setColor(java.lang.String color)
          Updates attribute color to the given value.
 void setImage(java.lang.String image)
          Updates attribute image to the given value.
 void setOpen(boolean open)
          Updates attribute open to the given value.
 
Methods inherited from interface leon.view.graphic.LyGraphicalComponent
free, getViewComponent
 

Field Detail

__VERSION

static final java.lang.String __VERSION
See Also:
Constant Field Values
Method Detail

setImage

void setImage(java.lang.String image)
Updates attribute image to the given value.

Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.

setOpen

void setOpen(boolean open)
Updates attribute open to the given value.

Parameters:
open - Boolean indicating if attribute open is set or unset.

setColor

void setColor(java.lang.String color)
Updates attribute color to the given value.

Specified by:
setColor in interface LySetColorInterface
Parameters:
color - New value of color.

addComponent

void addComponent(LyComponent components,
                  int pos)
Inserts a sub-component components at given position.

Parameters:
components - The components to add to components list.
pos - Position where the sub-component is inserted.

removeComponent

void removeComponent(LyComponent components)
Removes a sub-component components.

Parameters:
components - The components to remove to components list.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com