Class AbstractButtonPane
- java.lang.Object
-
- org.silverpeas.core.web.util.viewgenerator.html.buttonpanes.AbstractButtonPane
-
- All Implemented Interfaces:
ButtonPane
,SimpleGraphicElement
- Direct Known Subclasses:
ButtonPaneWA2
public abstract class AbstractButtonPane extends Object implements ButtonPane
The default implementation of ArrayPane interface- Version:
- 1.0
- Author:
- squere
-
-
Field Summary
Fields Modifier and Type Field Description static int
HORIZONTAL_PANE
static int
VERTICAL_PANE
-
Constructor Summary
Constructors Constructor Description AbstractButtonPane()
Constructor declaration
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addButton(Button button)
Method declarationList<Button>
getButtons()
Method declarationprotected String
getCssClass()
String
getVerticalWidth()
Method declarationint
getViewType()
Method declarationabstract String
horizontalPrint()
Method declarationvoid
setCssClass(String cssClass)
Sets some CSS classesvoid
setHorizontalPosition()
Method declarationvoid
setVerticalPosition()
Method declarationvoid
setVerticalWidth(String width)
Method declarationabstract String
verticalPrint()
Method declaration-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.web.util.viewgenerator.html.buttonpanes.ButtonPane
print
-
-
-
-
Field Detail
-
VERTICAL_PANE
public static final int VERTICAL_PANE
- See Also:
- Constant Field Values
-
HORIZONTAL_PANE
public static final int HORIZONTAL_PANE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setCssClass
public void setCssClass(String cssClass)
Description copied from interface:ButtonPane
Sets some CSS classes- Specified by:
setCssClass
in interfaceButtonPane
- Parameters:
cssClass
- CSS classes.
-
getCssClass
protected String getCssClass()
-
addButton
public void addButton(Button button)
Method declaration- Specified by:
addButton
in interfaceButtonPane
- Parameters:
button
-
-
setVerticalPosition
public void setVerticalPosition()
Method declaration- Specified by:
setVerticalPosition
in interfaceButtonPane
-
setHorizontalPosition
public void setHorizontalPosition()
Method declaration- Specified by:
setHorizontalPosition
in interfaceButtonPane
-
getViewType
public int getViewType()
Method declaration- Returns:
-
getVerticalWidth
public String getVerticalWidth()
Method declaration- Returns:
-
setVerticalWidth
public void setVerticalWidth(String width)
Method declaration- Specified by:
setVerticalWidth
in interfaceButtonPane
- Parameters:
width
-
-
horizontalPrint
public abstract String horizontalPrint()
Method declaration- Returns:
-
verticalPrint
public abstract String verticalPrint()
Method declaration- Returns:
-
-