Class AbstractWindow
- java.lang.Object
-
- org.silverpeas.core.web.util.viewgenerator.html.window.AbstractWindow
-
- All Implemented Interfaces:
SimpleGraphicElement
,Window
- Direct Known Subclasses:
WindowWeb20V5
,WindowWithContextualDiv
public abstract class AbstractWindow extends Object implements Window
- Author:
- neysseri
-
-
Constructor Summary
Constructors Constructor Description AbstractWindow()
Constructor declaration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBody(String body)
Method declarationprotected void
addSpaceOrComponentOperations()
Add an operation that permits to display space or application manager add space or application to user bookmarksString
displayWelcomeMessage()
String
getBody()
BrowseBar
getBrowseBar()
Method declarationString
getContextualDiv()
GraphicElementFactory
getGEF()
String
getIconsPath()
OperationPane
getOperationPane()
Method declarationString
getWidth()
void
init(GraphicElementFactory gef)
Method declarationboolean
isBrowseBarVisible()
Indicates if this Window should display a Browsebar.boolean
isPopup()
String
print()
Print an html representation for this object.String
printAfter()
Print the end of the window in an html format.String
printBefore()
Print the beginning of the window in an html format.void
setBrowseBarVisibility(boolean browseBarVisible)
Defines if this Window should display a Browsebar.void
setPopup(boolean popup)
void
setWidth(String width)
Method declaration
-
-
-
Method Detail
-
init
public void init(GraphicElementFactory gef)
Description copied from interface:Window
Method declaration
-
getBody
public String getBody()
-
addBody
public void addBody(String body)
Description copied from interface:Window
Method declaration
-
getGEF
public GraphicElementFactory getGEF()
-
getIconsPath
public String getIconsPath()
-
setWidth
public void setWidth(String width)
Description copied from interface:Window
Method declaration
-
getWidth
public String getWidth()
-
getOperationPane
public OperationPane getOperationPane()
Description copied from interface:Window
Method declaration- Specified by:
getOperationPane
in interfaceWindow
- Returns:
-
getBrowseBar
public BrowseBar getBrowseBar()
Description copied from interface:Window
Method declaration- Specified by:
getBrowseBar
in interfaceWindow
- Returns:
-
getContextualDiv
public String getContextualDiv()
-
isBrowseBarVisible
public boolean isBrowseBarVisible()
Description copied from interface:Window
Indicates if this Window should display a Browsebar.- Specified by:
isBrowseBarVisible
in interfaceWindow
- Returns:
- true if this Window should display a Browsebar - false otherwise.
-
setBrowseBarVisibility
public void setBrowseBarVisibility(boolean browseBarVisible)
Description copied from interface:Window
Defines if this Window should display a Browsebar.- Specified by:
setBrowseBarVisibility
in interfaceWindow
- Parameters:
browseBarVisible
- set to true if this Window should display a Browsebar - false otherwise.
-
displayWelcomeMessage
public String displayWelcomeMessage()
-
addSpaceOrComponentOperations
protected void addSpaceOrComponentOperations()
Add an operation that permits to- display space or application manager
- add space or application to user bookmarks
-
printBefore
public String printBefore()
Description copied from interface:Window
Print the beginning of the window in an html format.- Specified by:
printBefore
in interfaceWindow
- Returns:
- The html based line code
-
printAfter
public String printAfter()
Description copied from interface:Window
Print the end of the window in an html format.- Specified by:
printAfter
in interfaceWindow
- Returns:
- The html based line code
-
print
public String print()
Description copied from interface:SimpleGraphicElement
Print an html representation for this object.- Specified by:
print
in interfaceSimpleGraphicElement
- Returns:
- The html representation for this object.
-
-