| java.lang.Object com.javelin.swinglets.SComponent com.javelin.swinglets.SContainer com.javelin.swinglets.STabbedPane
Inner Class :public class SPage | |
Constructor Summary | |
public | STabbedPane() Construct a STabbedPane with TOP tabPlacement. | public | STabbedPane(int tabPlacement) Construct an empty TabbedPane with the specified tab placement. |
Method Summary | |
public SContainer | add(SComponent component) Adds a tab. | public SContainer | add(String title, SComponent component) Adds a tab. | public SContainer | add(SComponent component, int index) Adds a tab. | public void | addTab(String title, SIcon icon, SComponent component, String tip) Adds a tab. | public void | addTab(String title, SIcon icon, SComponent component) Adds tab. | public void | addTab(String title, SComponent component) Adds a tab. | public SColor | getBackgroundAt(int index) Get the tab background color at index. | public SComponent | getComponentAt(int index) Get the component at index. | public SColor | getForegroundAt(int index) Returns the tab foreground color at index. | public SIcon | getIconAt(int index) Get the tab icon at index. | public SComponent | getSelectedComponent() Get the currently selected component. | public int | getSelectedIndex() Get the selected index. | public int | getTabCount() Get the number of tabs. | public int | getTabPlacement() Get the placement of the tabs. | public STabbedCellRenderer | getTabbedCellRenderer() Get Tabbed cell renderer, for the current look and feel. | public STabbedCellRenderer | getTabbedCellRenderer(String lookAndFeel) Get Tabbed cell renderer, or null. | public String | getTitleAt(int index) Get the tab title at index. | public Class | getUIClass() Returns the name of the L&F class that renders this component. | public int | indexOfComponent(SComponent component) Returns the first tab for the specified component. | public int | indexOfTab(String title) Returns the first tab with the title. | public int | indexOfTab(SIcon icon) Returns the first tab with the icon. | public void | insertTab(String title, SIcon icon, SComponent component, String tip, int index) Inserts a tab at index. | public boolean | isBorderPainted() Returns true if the Menubar's border should be painted. | public boolean | isEnabledAt(int index) Check whether or not the tab at index is enabled. | protected void | processEvent(AWTEvent event) Processes events occurring on this component. | protected void | processFormEvent(FormEvent event) Process the FormEvent to compute which tab has been
selected. | public void | remove(SComponent component) Remove the tab with the specified component. | public void | removeAll() Remove all the tabs. | public void | removeTabAt(int index) Removes the tab. | public STabbedPane | setBackgroundAt(int index, SColor background) Set the background color at index. | public STabbedPane | setBorderPainted(boolean borderPainted) Sets whether the border should be painted. | public STabbedPane | setComponentAt(int index, SComponent component) Set the component at index. | public STabbedPane | setEnabledAt(int index, boolean enabled) Set whether tab at index is enabled. | public STabbedPane | setForegroundAt(int index, SColor foreground) Set the foreground color at index. | public STabbedPane | setIconAt(int index, SIcon icon) Set the icon at index. | public STabbedPane | setSelectedComponent(SComponent component) Sets the selected component for this tabbedpane. | public STabbedPane | setSelectedIndex(int selectedIndex) Set the selected index. | public STabbedPane | setTabPlacement(int tabPlacement) Sets the placement of tabs. | public STabbedPane | setTabbedCellRenderer(STabbedCellRenderer tabbedCellRenderer) Set Tabbed cell renderer for the current look and feel. | public STabbedPane | setTabbedCellRenderer(String lookAndFeel, STabbedCellRenderer tabbedCellRenderer) Set Tabbed cell renderer for each look and feel. | public STabbedPane | setTitleAt(int index, String title) |
borderPainted | protected boolean borderPainted(Code) | | |
selectedIndex | protected int selectedIndex(Code) | | |
tabPlacement | protected int tabPlacement(Code) | | |
STabbedPane | public STabbedPane()(Code) | | Construct a STabbedPane with TOP tabPlacement.
|
STabbedPane | public STabbedPane(int tabPlacement)(Code) | | Construct an empty TabbedPane with the specified tab placement.
One of SConstants.TOP, SConstants.BOTTOM, SConstants.LEFT, or SConstants.RIGHT.
|
getBackgroundAt | public SColor getBackgroundAt(int index)(Code) | | Get the tab background color at index.
|
getComponentAt | public SComponent getComponentAt(int index)(Code) | | Get the component at index.
|
getForegroundAt | public SColor getForegroundAt(int index)(Code) | | Returns the tab foreground color at index.
|
getIconAt | public SIcon getIconAt(int index)(Code) | | Get the tab icon at index.
|
getSelectedComponent | public SComponent getSelectedComponent()(Code) | | Get the currently selected component.
|
getSelectedIndex | public int getSelectedIndex()(Code) | | Get the selected index.
|
getTabCount | public int getTabCount()(Code) | | Get the number of tabs.
|
getTabPlacement | public int getTabPlacement()(Code) | | Get the placement of the tabs.
|
getTabbedCellRenderer | public STabbedCellRenderer getTabbedCellRenderer()(Code) | | Get Tabbed cell renderer, for the current look and feel.
|
getTabbedCellRenderer | public STabbedCellRenderer getTabbedCellRenderer(String lookAndFeel)(Code) | | Get Tabbed cell renderer, or null.
If a renderer has not been installed for the look and feel, it is.
picked up from the LookAndFeel as SLookAndFeel.TABLE_DEFAULT_CELL_RENDERER.
|
getTitleAt | public String getTitleAt(int index)(Code) | | Get the tab title at index.
|
getUIClass | public Class getUIClass()(Code) | | Returns the name of the L&F class that renders this component.
|
indexOfComponent | public int indexOfComponent(SComponent component)(Code) | | Returns the first tab for the specified component.
|
indexOfTab | public int indexOfTab(String title)(Code) | | Returns the first tab with the title.
|
indexOfTab | public int indexOfTab(SIcon icon)(Code) | | Returns the first tab with the icon.
|
isBorderPainted | public boolean isBorderPainted()(Code) | | Returns true if the Menubar's border should be painted.
|
isEnabledAt | public boolean isEnabledAt(int index)(Code) | | Check whether or not the tab at index is enabled.
|
processEvent | protected void processEvent(AWTEvent event)(Code) | | Processes events occurring on this component.
|
processFormEvent | protected void processFormEvent(FormEvent event)(Code) | | Process the FormEvent to compute which tab has been
selected.
|
remove | public void remove(SComponent component)(Code) | | Remove the tab with the specified component.
|
removeAll | public void removeAll()(Code) | | Remove all the tabs.
|
removeTabAt | public void removeTabAt(int index)(Code) | | Removes the tab.
|
setBackgroundAt | public STabbedPane setBackgroundAt(int index, SColor background)(Code) | | Set the background color at index.
|
setBorderPainted | public STabbedPane setBorderPainted(boolean borderPainted)(Code) | | Sets whether the border should be painted.
|
setEnabledAt | public STabbedPane setEnabledAt(int index, boolean enabled)(Code) | | Set whether tab at index is enabled.
|
setForegroundAt | public STabbedPane setForegroundAt(int index, SColor foreground)(Code) | | Set the foreground color at index.
|
setSelectedComponent | public STabbedPane setSelectedComponent(SComponent component)(Code) | | Sets the selected component for this tabbedpane.
|
setSelectedIndex | public STabbedPane setSelectedIndex(int selectedIndex)(Code) | | Set the selected index.
|
setTabPlacement | public STabbedPane setTabPlacement(int tabPlacement)(Code) | | Sets the placement of tabs.
One of SConstants.TOP, SConstants.BOTTOM, SConstants.LEFT, or SConstants.RIGHT.
|
Methods inherited from com.javelin.swinglets.SComponent | public SComponent addActionListener(ActionListener l)(Code)(Java Doc) public SComponent addComponentListener(ComponentListener listener)(Code)(Java Doc) public SComponent addFocusListener(FocusListener listener)(Code)(Java Doc) public SComponent addKeyListener(KeyListener listener)(Code)(Java Doc) public SComponent addMouseListener(MouseListener listener)(Code)(Java Doc) public SComponent addMouseMotionListener(MouseMotionListener listener)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized SComponent addPropertyChangeListener(PropertyChangeListener listener) throws TooManyListenersException(Code)(Java Doc) public synchronized SComponent addPropertyChangeListener(String propertyName, PropertyChangeListener listener) throws TooManyListenersException(Code)(Java Doc) public SComponent addScript(SScript script)(Code)(Java Doc) protected SComponent addUIListener(EventListener listener)(Code)(Java Doc) protected String constructComponentName()(Code)(Java Doc) public void dispatchEvent(AWTEvent event)(Code)(Java Doc) public boolean equals(Object object)(Code)(Java Doc) public void firePropertyChange()(Code)(Java Doc) final public void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) final protected void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) final protected void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) final protected void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) final protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) final protected void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) final protected void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) final protected void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) final protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public SContainer getAncestorNamed(String name)(Code)(Java Doc) public SContainer getAncestorOfClass(Class clazz)(Code)(Java Doc) public SColor getBackground()(Code)(Java Doc) public SBorder getBorder()(Code)(Java Doc) public Enumeration getClientKeys()(Code)(Java Doc) final public Object getClientProperty(Object key)(Code)(Java Doc) final public Object getClientProperty(Object key, Object defaultValue)(Code)(Java Doc) public int getClientPropertyCount()(Code)(Java Doc) public SComponent getComponent(String name)(Code)(Java Doc) public String getComponentUrl()(Code)(Java Doc) public String getContentType()(Code)(Java Doc) public Cursor getCursor()(Code)(Java Doc) public SFont getFont()(Code)(Java Doc) public SColor getForeground()(Code)(Java Doc) public int getHorizontalAlignment()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public SLookAndFeel getLookAndFeel()(Code)(Java Doc) public String getName()(Code)(Java Doc) public SContainer getParent()(Code)(Java Doc) public int getScriptCount()(Code)(Java Doc) public Enumeration getScripts()(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) public SwingletManager getSwingletManager()(Code)(Java Doc) public int getTabIndex()(Code)(Java Doc) public String getToolTipText()(Code)(Java Doc) public SContainer getTopLevelAncestor()(Code)(Java Doc) public SComponentUI getUI()(Code)(Java Doc) public Class getUIClass()(Code)(Java Doc) public int getVerticalAlignment()(Code)(Java Doc) final protected boolean hasListeners()(Code)(Java Doc) final protected boolean hasListeners(String propertyName)(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean isCached()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isFiringSuspended()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public void onFirstPaint()(Code)(Java Doc) public void onPaintComponent()(Code)(Java Doc) public void onPaintComponentFooter()(Code)(Java Doc) public void onPaintComponentHeader()(Code)(Java Doc) public void onPaintHeader()(Code)(Java Doc) public void paint(Object out)(Code)(Java Doc) public void paintComponent(Object out)(Code)(Java Doc) public void paintComponentFooter(Object out)(Code)(Java Doc) public void paintComponentHeader(Object out)(Code)(Java Doc) public void paintHeader(Object out)(Code)(Java Doc) public void processActionEvent(ActionEvent event)(Code)(Java Doc) protected void processEvent(AWTEvent event)(Code)(Java Doc) final public SComponent putClientProperty(Object key, Object value)(Code)(Java Doc) public SComponent removeActionListener(ActionListener l)(Code)(Java Doc) public SComponent removeComponentListener(ComponentListener listener)(Code)(Java Doc) public SComponent removeFocusListener(FocusListener listener)(Code)(Java Doc) public SComponent removeKeyListener(KeyListener listener)(Code)(Java Doc) public SComponent removeMouseListener(MouseListener listener)(Code)(Java Doc) public SComponent removeMouseMotionListener(MouseMotionListener listener)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized SComponent removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized SComponent removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public SComponent removeScript(SScript script)(Code)(Java Doc) protected SComponent removeUIListener(EventListener listener)(Code)(Java Doc) public SComponent setBackground(SColor background)(Code)(Java Doc) public SComponent setBorder(SBorder border)(Code)(Java Doc) public void setCached(boolean cached)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) public SComponent setEnabled(boolean enabled)(Code)(Java Doc) public void setFiringSuspended(boolean firingSuspended)(Code)(Java Doc) public SComponent setFont(String name, int style, int size)(Code)(Java Doc) public SComponent setFont(SFont font)(Code)(Java Doc) public SComponent setForeground(SColor foreground)(Code)(Java Doc) public SComponent setHorizontalAlignment(int horizontalAlignment)(Code)(Java Doc) public SComponent setLocale(Locale locale)(Code)(Java Doc) public SComponent setLookAndFeel(String lookAndFeel)(Code)(Java Doc) public SComponent setLookAndFeel(SLookAndFeel lookAndFeel)(Code)(Java Doc) public SComponent setName(String name)(Code)(Java Doc) public SComponent setOpaque(boolean opaque)(Code)(Java Doc) public SComponent setParent(SContainer parent)(Code)(Java Doc) public SComponent setSize(int width, int height)(Code)(Java Doc) public SComponent setSize(Dimension size)(Code)(Java Doc) public void setSwingletManager(SwingletManager swingletManager)(Code)(Java Doc) public SComponent setTabIndex(int tabIndex)(Code)(Java Doc) public SComponent setToolTipText(String toolTipText)(Code)(Java Doc) public SComponent setUI(SComponentUI ui)(Code)(Java Doc) public SComponent setValueAsText(String text)(Code)(Java Doc) public SComponent setVerticalAlignment(int verticalAlignment)(Code)(Java Doc) public SComponent setVisible(boolean visible)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|