Interface Button
-
- All Superinterfaces:
SimpleGraphicElement
- All Known Implementing Classes:
AbstractButton
,ButtonSilverpeasV5
public interface Button extends SimpleGraphicElement
- Version:
- Author:
- neysseri
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
init(String label, String action, boolean disabled)
Method declarationString
print()
Method declarationvoid
setActionPreProcessing(String actionPreProcessing)
This method permits to apply some process before calling the action.void
setClasses(String classes)
Sets css classes to the HTML TAG representing the button.void
setRootImagePath(String s)
Deprecated.
-
-
-
Method Detail
-
init
void init(String label, String action, boolean disabled)
Method declaration- Parameters:
label
-action
-disabled
-
-
setActionPreProcessing
void setActionPreProcessing(String actionPreProcessing)
This method permits to apply some process before calling the action. The actionPreProcessing string must be a javascript routine in which the parameter {action} will be replaced by the specified action oninit(String, String, boolean)
method.- Parameters:
actionPreProcessing
- the javascript routine.
-
setClasses
void setClasses(String classes)
Sets css classes to the HTML TAG representing the button.- Parameters:
classes
- the css classes.
-
print
String print()
Method declaration- Specified by:
print
in interfaceSimpleGraphicElement
- Returns:
-
setRootImagePath
@Deprecated void setRootImagePath(String s)
Deprecated.Method declaration- Parameters:
s
-
-
-