|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.toolbar.LyJQToolbar
public class LyJQToolbar
Type : leon.view.web.web2.component.toolbar.LyWeb2Toolbar The peer component of LyToolBar for the web2 viewer.
Field Summary |
---|
Fields inherited from class leon.view.web.LyWebObject |
---|
__VERSION, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from interface leon.view.graphic.LyGraphicalToolBar |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQToolbar(LyToolBar toolbar)
Constructor |
Method Summary | |
---|---|
void |
addComponent(LyComponent arg0,
int arg1)
Inserts a sub-component components at given position. |
boolean |
containsLabel()
Indicates if at least one of the tools of the toolbar contains a label. |
java.lang.String |
getAlign(LyToolBar toolbar)
Get toolbar alignment |
java.lang.String |
getImagePath(LyToolBar toolbar)
Gets the tooltip image URL. |
java.lang.String |
getReloadScript()
this method is to be implemented by internal views to get the reload script for the page element |
java.util.List<LyComponent> |
getToolbarList(LyToolBar toolbar)
Get the toolbar's elements |
boolean |
hasImageandTopRightToolbar(LyToolBar toolbar)
Check if toolbar has an image and a top-right toolbar as its first component |
boolean |
isExpandable(LyToolBar toolbar)
Indicates if the toolbar is expandable or not. |
boolean |
isFieldInstance(LyComponent component)
Check if the component is a field |
boolean |
isHorizontal(LyToolBar toolbar)
Check if toolbar is horizontal |
boolean |
isLabelInstance(LyComponent component)
Check if the component is a label |
boolean |
isLabelNotEmpty(java.lang.String label)
Check if the given index is not empty |
boolean |
isLabelRightPosition(LyToolBar toolbar)
Check the "LY_TOOL_LABEL_RIGHT_POSITION" attribute |
boolean |
isToolbarInstance(LyComponent component)
Check if the component is a toolbar |
boolean |
isToolInstance(LyComponent component)
Check if the component is a tool |
boolean |
isTopExpandToolbar(LyToolBar toolbar)
Check if toolbar is a top expandable toolbar |
boolean |
isWriteLabel(LyToolBar toolbar)
Check the "LY_WRITE_TOOL_LABEL" attribute |
void |
removeComponent(LyComponent arg0)
Removes a sub-component components. |
java.util.List<LyComponent> |
removeElementFromList(java.util.List<LyComponent> list,
int i)
Get a subList from the given index |
void |
setColor(java.lang.String color)
Updates attribute color to the given value. |
void |
setImage(java.lang.String arg0)
Updates attribute image to the given value. |
void |
setOpen(boolean open)
Updates attribute open to the given value. |
void |
writeHtml(LyWebPageWriter arg0)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView |
---|
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty |
Methods inherited from class leon.view.web.LyWebObject |
---|
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Constructor Detail |
---|
public LyJQToolbar(LyToolBar toolbar)
toolbar
- Method Detail |
---|
public boolean isHorizontal(LyToolBar toolbar)
toolbar
-
public boolean isTopExpandToolbar(LyToolBar toolbar)
public boolean hasImageandTopRightToolbar(LyToolBar toolbar)
toolbar
-
public java.lang.String getAlign(LyToolBar toolbar)
toolbar
-
public boolean isExpandable(LyToolBar toolbar)
public boolean isLabelRightPosition(LyToolBar toolbar)
toolbar
-
public boolean isWriteLabel(LyToolBar toolbar)
toolbar
-
public java.lang.String getImagePath(LyToolBar toolbar)
public boolean containsLabel()
public boolean isToolbarInstance(LyComponent component)
component
-
public boolean isToolInstance(LyComponent component)
component
-
public boolean isFieldInstance(LyComponent component)
component
-
public boolean isLabelInstance(LyComponent component)
component
-
public java.util.List<LyComponent> getToolbarList(LyToolBar toolbar)
toolbar
-
public java.util.List<LyComponent> removeElementFromList(java.util.List<LyComponent> list, int i)
list
- i
-
public boolean isLabelNotEmpty(java.lang.String label)
label
-
public void addComponent(LyComponent arg0, int arg1)
LyGraphicalToolBar
addComponent
in interface LyGraphicalToolBar
arg0
- The components to add to components list.arg1
- Position where the sub-component is inserted.public void removeComponent(LyComponent arg0)
LyGraphicalToolBar
removeComponent
in interface LyGraphicalToolBar
arg0
- The components to remove to components list.public void setImage(java.lang.String arg0)
LyGraphicalToolBar
setImage
in interface LyGraphicalToolBar
setImage
in interface LySetImageInterface
arg0
- New value of image.public void setColor(java.lang.String color)
LyGraphicalToolBar
setColor
in interface LyGraphicalToolBar
setColor
in interface LySetColorInterface
color
- New value of color.public void setOpen(boolean open)
LyGraphicalToolBar
setOpen
in interface LyGraphicalToolBar
open
- Boolean indicating if attribute open is set or unset.public void writeHtml(LyWebPageWriter arg0)
LyWebComponent
writeHtml
in interface LyWebComponent
arg0
- the page writerpublic java.lang.String getReloadScript()
LyJQInternalView
getReloadScript
in class LyJQInternalView
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |