|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.gui.control.ControlImpl info.magnolia.cms.gui.control.Bar info.magnolia.cms.gui.inline.BarMain
public class BarMain
Field Summary |
---|
Constructor Summary | |
---|---|
BarMain()
|
|
BarMain(javax.servlet.http.HttpServletRequest request)
Deprecated. since 4.0 - use the empty constructor. |
|
BarMain(javax.servlet.http.HttpServletRequest request,
String path,
String nodeCollectionName,
String nodeName,
String paragraph)
Deprecated. since 4.0 |
|
BarMain(String path,
String nodeCollectionName,
String nodeName,
String dialog)
|
Method Summary | |
---|---|
void |
drawHtml(javax.servlet.jsp.JspWriter out)
Deprecated. use drawHtml(Writer out) instead. |
void |
drawHtml(Writer out)
Draws the main bar (incl. all magnolia specific js and css links). |
void |
drawHtmlLinks(javax.servlet.jsp.JspWriter out)
Deprecated. use drawHtmlLinks(Writer out) instead. |
void |
drawHtmlLinks(Writer out)
Draws the magnolia specific js and css links). |
Button |
getButtonEditView()
|
Button |
getButtonPreview()
|
Button |
getButtonProperties()
|
Button |
getButtonSiteAdmin()
|
String |
getDialog()
|
Control |
getLanguageChooser()
|
int |
getLeft()
|
boolean |
getOverlay()
|
int |
getTop()
|
String |
getWidth()
|
boolean |
isAdminButtonVisible()
|
void |
placeDefaultButtons()
Places the default buttons to the very right/left position. |
void |
setAdminButtonVisible(boolean adminButtonVisible)
|
void |
setButtonEditView()
Sets the default edit view button (to switch form preview to edit view mode). |
void |
setButtonEditView(Button b)
|
void |
setButtonPreview()
Sets the default preview button (to switch from edit to preview mode). |
void |
setButtonPreview(Button b)
|
void |
setButtonProperties()
|
void |
setButtonProperties(Button b)
|
void |
setButtonProperties(String path,
String dialog)
Sets the default page properties button. |
void |
setButtonSiteAdmin()
|
void |
setButtonSiteAdmin(Button b)
|
void |
setButtonSiteAdmin(String path)
Sets the default site admin button. |
void |
setDefaultButtons()
Sets the default buttons. |
void |
setDialog(String dialog)
|
protected void |
setLanguageChooser()
|
void |
setLanguageChooser(Control languageChooser)
|
void |
setLeft(int i)
|
void |
setOverlay(boolean b)
Sets if the main bar overlays the content (true, default) or if it is moving it downward (false). |
void |
setTop(int i)
|
void |
setWidth(String s)
|
Methods inherited from class info.magnolia.cms.gui.control.Bar |
---|
getButtonsLeft, getButtonsRight, getHtml, getSmall, setButtonsLeft, setButtonsLeft, setButtonsRight, setButtonsRight, setSmall |
Methods inherited from class info.magnolia.cms.gui.control.ControlImpl |
---|
escapeHTML, getCssClass, getCssStyles, getCssStyles, getCssStyles, getEncoding, getEvents, getHtmlCssClass, getHtmlCssStyles, getHtmlEvents, getHtmlId, getHtmlInter, getHtmlInter, getHtmlPost, getHtmlPost, getHtmlPre, getHtmlPre, getHtmlSaveInfo, getId, getIsRichEditValue, getLabel, getName, getNodeCollectionName, getNodeCollectionName, getNodeName, getNodeName, getPath, getRequest, getSaveInfo, getType, getValue, getValues, getValueType, getWebsiteNode, println, setCssClass, setCssStyles, setCssStyles, setEncoding, setEvent, setEvent, setEvents, setHtmlInter, setHtmlPost, setHtmlPre, setId, setIsRichEditValue, setLabel, setName, setNodeCollectionName, setNodeName, setPath, setRequest, setSaveInfo, setType, setType, setValue, setValues, setValueType, setWebsiteNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public BarMain(javax.servlet.http.HttpServletRequest request)
@Deprecated public BarMain(javax.servlet.http.HttpServletRequest request, String path, String nodeCollectionName, String nodeName, String paragraph)
public BarMain(String path, String nodeCollectionName, String nodeName, String dialog)
public BarMain()
Method Detail |
---|
public void setDefaultButtons()
public void placeDefaultButtons()
public Button getButtonProperties()
public void setButtonProperties(Button b)
public void setButtonProperties()
public void setButtonProperties(String path, String dialog)
path
- , path of the current pagedialog
- , paragraph typepublic Button getButtonPreview()
public void setButtonPreview(Button b)
public void setButtonPreview()
public Button getButtonEditView()
public void setButtonEditView(Button b)
public void setButtonEditView()
public Button getButtonSiteAdmin()
public void setButtonSiteAdmin(Button b)
public void setButtonSiteAdmin()
public void setButtonSiteAdmin(String path)
path
- , path of the current page (will show up in site admin)protected void setLanguageChooser()
public Control getLanguageChooser()
public void setLanguageChooser(Control languageChooser)
public void setTop(int i)
public int getTop()
public void setLeft(int i)
public int getLeft()
public void setWidth(String s)
public String getWidth()
public void setOverlay(boolean b)
public boolean getOverlay()
public String getDialog()
public void setDialog(String dialog)
@Deprecated public void drawHtml(javax.servlet.jsp.JspWriter out) throws IOException
IOException
public void drawHtml(Writer out) throws IOException
IOException
@Deprecated public void drawHtmlLinks(javax.servlet.jsp.JspWriter out) throws IOException
IOException
public void drawHtmlLinks(Writer out) throws IOException
IOException
public boolean isAdminButtonVisible()
public void setAdminButtonVisible(boolean adminButtonVisible)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |