java.lang.Object
jac.aspects.gui.web.AbstractView
jac.aspects.gui.web.AbstractCompositeView
jac.aspects.gui.web.Tabs
- All Implemented Interfaces:
- jac.aspects.gui.CompositeView, HTMLViewer, TabsListener, jac.aspects.gui.TabsView, jac.aspects.gui.View
- public class Tabs
- extends AbstractCompositeView
- implements TabsListener, jac.aspects.gui.TabsView
A tabs component.
| Fields inherited from class jac.aspects.gui.web.AbstractView |
closed, column, context, description, factory, height, isCellViewer, javascript, label, message, parameters, parentView, row, style, styleSheet, table, type, viewBorder, width |
|
Constructor Summary |
Tabs()
|
| Methods inherited from class jac.aspects.gui.web.AbstractCompositeView |
add, addHorizontalStrut, addVerticalStrut, addView, close, genDescription, genMessage, getViews, removeAllViews, removeView, setContext |
| Methods inherited from class jac.aspects.gui.web.AbstractView |
equals, eventURL, eventURL, genBody, genPage, getCloseBorder, getContext, getDescription, getFactory, getId, getId, getLabel, getMessage, getOpenBorder, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, iconElement, iconElement, isClosed, isInForm, setColumn, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParameters, setParentView, setRow, setStyle, setStyleSheet, setTable, setType, setViewBorder, setWidth, validate |
tabs
java.util.Vector tabs
icons
java.util.Vector icons
selected
jac.aspects.gui.View selected
Tabs
public Tabs()
addView
public void addView(jac.aspects.gui.View view,
java.lang.Object extraInfos)
- Description copied from interface:
jac.aspects.gui.CompositeView
- Adds a component view in the composite.
- Specified by:
addView in interface jac.aspects.gui.CompositeView- Overrides:
addView in class AbstractCompositeView
addTab
public void addTab(jac.aspects.gui.View component,
java.lang.String category,
java.lang.String icon)
- Description copied from interface:
jac.aspects.gui.TabsView
- Add a view in tab
- Specified by:
addTab in interface jac.aspects.gui.TabsView
getView
public jac.aspects.gui.View getView(java.lang.Object id)
- Description copied from interface:
jac.aspects.gui.CompositeView
- Gets a component view from an id object.
- Specified by:
getView in interface jac.aspects.gui.CompositeView- Overrides:
getView in class AbstractCompositeView
select
public void select(java.lang.String tab)
- Description copied from interface:
jac.aspects.gui.TabsView
- Select a tab.
- Specified by:
select in interface jac.aspects.gui.TabsView
getTab
public jac.aspects.gui.View getTab(java.lang.String tab)
- Returns the tab with a given name
genHTML
public void genHTML(java.io.PrintWriter out)
throws java.io.IOException
- Description copied from interface:
HTMLViewer
- Generate the HTML code for the editor.
- Specified by:
genHTML in interface HTMLViewer- Overrides:
genHTML in class AbstractCompositeView
onSelect
public void onSelect(int index)
- Description copied from interface:
TabsListener
- Called when a tab is selected
- Specified by:
onSelect in interface TabsListener