org.springframework.richclient.dialog.control
Class Tab

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.dialog.control.Tab

public class Tab
extends Object

Represents a single tab in a tabbed pane.

TODO: move this to another package?

Author:
Peter De Bruycker

Field Summary
static String COMPONENT_PROPERTY
           
static String ENABLED_PROPERTY
           
static String ICON_PROPERTY
           
static String MNEMONIC_PROPERTY
           
static String TITLE_PROPERTY
           
static String TOOLTIP_PROPERTY
           
static String VISIBLE_PROPERTY
           
 
Constructor Summary
Tab()
           
Tab(String title, JComponent component)
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
           
 void addPropertyChangeListener(String propertyName, PropertyChangeListener l)
           
 JComponent getComponent()
           
 Icon getIcon()
           
 int getMnemonic()
           
 String getTitle()
           
 String getTooltip()
           
 boolean isEnabled()
           
 boolean isVisible()
           
 void removePropertyChangeListener(PropertyChangeListener l)
           
 void removePropertyChangeListener(String propertyName, PropertyChangeListener l)
           
 void setComponent(JComponent component)
           
 void setEnabled(boolean enabled)
           
 void setIcon(Icon icon)
           
 void setMnemonic(int mnemonic)
           
 void setTitle(String title)
           
 void setTooltip(String tooltip)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TITLE_PROPERTY

public static final String TITLE_PROPERTY
See Also:
Constant Field Values

ICON_PROPERTY

public static final String ICON_PROPERTY
See Also:
Constant Field Values

TOOLTIP_PROPERTY

public static final String TOOLTIP_PROPERTY
See Also:
Constant Field Values

COMPONENT_PROPERTY

public static final String COMPONENT_PROPERTY
See Also:
Constant Field Values

VISIBLE_PROPERTY

public static final String VISIBLE_PROPERTY
See Also:
Constant Field Values

MNEMONIC_PROPERTY

public static final String MNEMONIC_PROPERTY
See Also:
Constant Field Values

ENABLED_PROPERTY

public static final String ENABLED_PROPERTY
See Also:
Constant Field Values
Constructor Detail

Tab

public Tab(String title,
           JComponent component)

Tab

public Tab()
Method Detail

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean visible)

getComponent

public JComponent getComponent()

setComponent

public void setComponent(JComponent component)

getIcon

public Icon getIcon()

setIcon

public void setIcon(Icon icon)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getTooltip

public String getTooltip()

setTooltip

public void setTooltip(String tooltip)

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)

addPropertyChangeListener

public void addPropertyChangeListener(String propertyName,
                                      PropertyChangeListener l)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)

removePropertyChangeListener

public void removePropertyChangeListener(String propertyName,
                                         PropertyChangeListener l)

setMnemonic

public void setMnemonic(int mnemonic)

getMnemonic

public int getMnemonic()

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.