| java.lang.Object com.javelin.swinglets.SComponent com.javelin.swinglets.SLabel
All known Subclasses: com.javelin.swinglets.plaf.html.HTMLPagedTableFooterRenderer, com.javelin.swinglets.plaf.html.HTMLSortedTableHeaderRenderer, com.javelin.swinglets.plaf.html.HTMLDefaultTableFooterRenderer, com.javelin.swinglets.plaf.wml.WMLDefaultTableHeaderRenderer, com.javelin.swinglets.plaf.html.HTMLDefaultTableHeaderRenderer, com.javelin.swinglets.plaf.html.HTMLDefaultTabbedCellRenderer, com.javelin.swinglets.plaf.html.HTMLDefaultTableCellRenderer, com.javelin.swinglets.plaf.wml.WMLDefaultTableCellRenderer, com.javelin.swinglets.plaf.wml.WMLDefaultTabbedCellRenderer,
Constructor Summary | |
public | SLabel(SIcon icon, String text, SLink link) Creates a JLabel instance with the specified
text, image, and horizontal alignment. | public | SLabel(SIcon icon, String text) Creates a JLabel instance with the specified
text and image. | public | SLabel(String text, SLink link) Creates a JLabel instance with the specified text
and link. | public | SLabel(String text) Creates a JLabel instance with the specified text. | public | SLabel(SIcon icon) Creates a JLabel instance with the specified image. | public | SLabel(SIcon icon, SLink link) Creates a JLabel instance with the specified image
and link. | public | SLabel() Creates a JLabel instance with
no image and with an empty string for the title. |
textAlignment | protected int textAlignment(Code) | | |
SLabel | public SLabel(SIcon icon, String text, SLink link)(Code) | | Creates a JLabel instance with the specified
text, image, and horizontal alignment.
|
SLabel | public SLabel(SIcon icon, String text)(Code) | | Creates a JLabel instance with the specified
text and image.
|
SLabel | public SLabel(String text, SLink link)(Code) | | Creates a JLabel instance with the specified text
and link.
|
SLabel | public SLabel(String text)(Code) | | Creates a JLabel instance with the specified text.
|
SLabel | public SLabel(SIcon icon)(Code) | | Creates a JLabel instance with the specified image.
|
SLabel | public SLabel(SIcon icon, SLink link)(Code) | | Creates a JLabel instance with the specified image
and link.
|
SLabel | public SLabel()(Code) | | Creates a JLabel instance with
no image and with an empty string for the title.
|
getIcon | public SIcon getIcon()(Code) | | Returns the icon that this label displays.
|
getLink | public SLink getLink()(Code) | | Get the Hyper Link.
|
getText | public String getText()(Code) | | Returns the text string that the label displays.
|
getTextAlignment | public int getTextAlignment()(Code) | | Returns the alignment of the text relative to the icon.
|
getUIClass | public Class getUIClass()(Code) | | Returns the name of the L&F class that renders this component.
|
processEvent | protected void processEvent(AWTEvent event)(Code) | | Processes events occurring on this component.
|
setAnchor | public SLabel setAnchor(String anchor)(Code) | | Defines the single line of text this component will display.
|
setIcon | public SLabel setIcon(SIcon icon)(Code) | | Defines the icon this component will display.
|
setText | public SLabel setText(String text)(Code) | | Defines the single line of text this component will display.
|
setTextAlignment | public SComponent setTextAlignment(int textAlignment)(Code) | | Sets the alignment of the text relative to the icon.
One of SConstants LEFT, 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)
|
|
|