Interface TabbedPane
-
- All Superinterfaces:
SimpleGraphicElement
- All Known Implementing Classes:
AbstractTabbedPane
,TabbedPaneSilverpeasV5
public interface TabbedPane extends SimpleGraphicElement
TabbedPane is an interface to be implemented by a graphic element to print tabs in an html format.- Version:
- 1.0
- Author:
- squere
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tab
addTab(String label, String action, boolean selected)
Add a new tab to our TabPane.Tab
addTab(String label, String action, boolean selected, boolean enabled)
Add a new tab to our TabPane.String
print()
Print the TabbedPane in an html format
-
-
-
Method Detail
-
addTab
Tab addTab(String label, String action, boolean selected)
Add a new tab to our TabPane.- Parameters:
label
- The label of the tab.action
- The action associated with this pane. Exemple : "javascript:onClick=viewByDay()"selected
- Specify if the tab is selected.
-
addTab
Tab addTab(String label, String action, boolean selected, boolean enabled)
Add a new tab to our TabPane.- Parameters:
label
- The label of the tab.action
- The action associated with this pane. Exemple : "javascript:onClick=viewByDay()"selected
- Specify if the tab is selected.enabled
- Specify if the tab is enabled. If enabled is false, the action won't be possible.
-
print
String print()
Print the TabbedPane in an html format- Specified by:
print
in interfaceSimpleGraphicElement
- Returns:
- The TabbedPane representation
-
-