Class AbstractIconPane
- java.lang.Object
-
- org.silverpeas.core.web.util.viewgenerator.html.iconpanes.AbstractIconPane
-
- All Implemented Interfaces:
IconPane
,SimpleGraphicElement
- Direct Known Subclasses:
IconPaneWA
public abstract class AbstractIconPane extends Object implements IconPane
The default implementation of IconPane interface- Version:
- 1.0
- Author:
- neysseric
-
-
Field Summary
Fields Modifier and Type Field Description static int
HORIZONTAL_PANE
static int
VERTICAL_PANE
-
Constructor Summary
Constructors Constructor Description AbstractIconPane()
Constructor declaration
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Icon
addEmptyIcon()
Return an icon using the 1px imageIcon
addIcon()
Method declarationVector
getIcons()
Method declarationString
getSpacing()
Method declarationString
getVerticalWidth()
Method declarationint
getViewType()
Method declarationabstract String
horizontalPrint()
Method declarationabstract String
print()
Method declarationvoid
setHorizontalPosition()
Method declarationvoid
setSpacing(String space)
Method declarationvoid
setVerticalPosition()
Method declarationvoid
setVerticalWidth(String width)
Method declarationabstract String
verticalPrint()
Method declaration
-
-
-
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
-
addIcon
public Icon addIcon()
Method declaration
-
addEmptyIcon
public Icon addEmptyIcon()
Description copied from interface:IconPane
Return an icon using the 1px image- Specified by:
addEmptyIcon
in interfaceIconPane
- Returns:
- an Icon
-
setVerticalPosition
public void setVerticalPosition()
Method declaration- Specified by:
setVerticalPosition
in interfaceIconPane
-
setVerticalWidth
public void setVerticalWidth(String width)
Method declaration- Specified by:
setVerticalWidth
in interfaceIconPane
- Parameters:
width
-
-
setHorizontalPosition
public void setHorizontalPosition()
Method declaration- Specified by:
setHorizontalPosition
in interfaceIconPane
-
setSpacing
public void setSpacing(String space)
Method declaration- Specified by:
setSpacing
in interfaceIconPane
- Parameters:
space
-
-
getIcons
public Vector getIcons()
Method declaration- Returns:
-
getViewType
public int getViewType()
Method declaration- Returns:
-
getSpacing
public String getSpacing()
Method declaration- Returns:
-
getVerticalWidth
public String getVerticalWidth()
Method declaration- Returns:
-
horizontalPrint
public abstract String horizontalPrint()
Method declaration- Returns:
-
verticalPrint
public abstract String verticalPrint()
Method declaration- Returns:
-
print
public abstract String print()
Method declaration- Specified by:
print
in interfaceIconPane
- Specified by:
print
in interfaceSimpleGraphicElement
- Returns:
-
-