Class AbstractOperationPane
- java.lang.Object
-
- org.silverpeas.core.web.util.viewgenerator.html.operationpanes.AbstractOperationPane
-
- All Implemented Interfaces:
OperationPane
,SimpleGraphicElement
- Direct Known Subclasses:
OperationPaneSilverpeasV5Web20
public abstract class AbstractOperationPane extends Object implements OperationPane
The default implementation of ArrayPane interface- Version:
- 1.0
- Author:
- squere
-
-
Constructor Summary
Constructors Constructor Description AbstractOperationPane()
Constructor declaration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOperation(String iconPath, String label, String action)
Method declarationvoid
addOperationOfCreation(String icon, String label, String action)
void
clear()
Removes all operationsList<String>
getCreationItems()
String
getIconsPath()
Method declarationorg.silverpeas.kernel.bundle.LocalizationBundle
getMultilang()
Vector<String>
getStack()
Method declarationOperationPaneType
getType()
Gets the type :OperationPaneType
.boolean
highlightCreationItems()
int
nbOperations()
Method declarationvoid
setMultilang(org.silverpeas.kernel.bundle.LocalizationBundle multilang)
void
setType(OperationPaneType type)
Default type isOperationPaneType.component
.-
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.operationpanes.OperationPane
addLine, addOperation, addOperationOfCreation
-
Methods inherited from interface org.silverpeas.core.web.util.viewgenerator.html.SimpleGraphicElement
print
-
-
-
-
Method Detail
-
setType
public void setType(OperationPaneType type)
Description copied from interface:OperationPane
Default type isOperationPaneType.component
. It is possible to change the type through this method.- Specified by:
setType
in interfaceOperationPane
-
getType
public OperationPaneType getType()
Description copied from interface:OperationPane
Gets the type :OperationPaneType
.- Specified by:
getType
in interfaceOperationPane
-
getIconsPath
public String getIconsPath()
Method declaration- Returns:
-
nbOperations
public int nbOperations()
Method declaration- Specified by:
nbOperations
in interfaceOperationPane
- Returns:
-
setMultilang
public void setMultilang(org.silverpeas.kernel.bundle.LocalizationBundle multilang)
- Specified by:
setMultilang
in interfaceOperationPane
-
getMultilang
public org.silverpeas.kernel.bundle.LocalizationBundle getMultilang()
-
highlightCreationItems
public boolean highlightCreationItems()
-
addOperation
public void addOperation(String iconPath, String label, String action)
Description copied from interface:OperationPane
Method declaration- Specified by:
addOperation
in interfaceOperationPane
-
addOperationOfCreation
public void addOperationOfCreation(String icon, String label, String action)
- Specified by:
addOperationOfCreation
in interfaceOperationPane
-
clear
public void clear()
Description copied from interface:OperationPane
Removes all operations- Specified by:
clear
in interfaceOperationPane
-
-