|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.app.Component nextapp.echo.app.Row ch.uzh.ifi.attempto.acewiki.gui.Title
public class Title
This class represents a title label which is used for article titles.
Field Summary |
---|
Fields inherited from class nextapp.echo.app.Row |
---|
PROPERTY_ALIGNMENT, PROPERTY_BORDER, PROPERTY_CELL_SPACING, PROPERTY_INSETS |
Fields inherited from class nextapp.echo.app.Component |
---|
CHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_NEXT_ID_CHANGED_PROPERTY, FOCUS_PREVIOUS_ID_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY |
Constructor Summary | |
---|---|
Title(java.lang.String text)
Creates a new non-clickable title. |
|
Title(java.lang.String text,
boolean italic)
Creates a new clickable title. |
|
Title(java.lang.String text,
boolean italic,
java.lang.String tooltip,
nextapp.echo.app.event.ActionListener actionListener)
Creates a new clickable title. |
|
Title(java.lang.String text,
java.lang.String postTitle)
Creates a new non-clickable title which has two parts. |
|
Title(java.lang.String text,
java.lang.String tooltip,
nextapp.echo.app.event.ActionListener actionListener)
Creates a new non-clickable title. |
|
Title(java.lang.String text,
java.lang.String postTitle,
java.lang.String tooltip,
nextapp.echo.app.event.ActionListener actionListener)
Creates a new clickable title which has two parts. |
Method Summary | |
---|---|
void |
actionPerformed(nextapp.echo.app.event.ActionEvent e)
|
void |
setColor(nextapp.echo.app.Color color)
Sets the foreground color of the title text. |
void |
setText(java.lang.String text)
Resets the title text. |
Methods inherited from class nextapp.echo.app.Row |
---|
getAlignment, getBorder, getCellSpacing, getInsets, setAlignment, setBorder, setCellSpacing, setInsets |
Methods inherited from class nextapp.echo.app.Component |
---|
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusNextId, getFocusPreviousId, getFont, getForeground, getId, getIndex, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidChild, isValidParent, isVisible, processInput, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusNextId, setFocusPreviousId, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Title(java.lang.String text, java.lang.String postTitle, java.lang.String tooltip, nextapp.echo.app.event.ActionListener actionListener)
text
- The text of the main part of the title.postTitle
- The text of the second part of the title in gray.tooltip
- The tooltip text.actionListener
- The action listener.public Title(java.lang.String text, java.lang.String postTitle)
text
- The text of the main part of the title.postTitle
- The text of the second part of the title in gray.public Title(java.lang.String text, boolean italic, java.lang.String tooltip, nextapp.echo.app.event.ActionListener actionListener)
text
- The text of the title.italic
- Defines whether the title text should be displayed in italics.tooltip
- The tooltip text.actionListener
- The action listener.public Title(java.lang.String text, java.lang.String tooltip, nextapp.echo.app.event.ActionListener actionListener)
text
- The text of the title.tooltip
- The tooltip text.actionListener
- The action listener.public Title(java.lang.String text, boolean italic)
text
- The text of the title.italic
- Defines whether the title text should be displayed in italics.public Title(java.lang.String text)
text
- The title text.Method Detail |
---|
public void setText(java.lang.String text)
text
- The title text.public void setColor(nextapp.echo.app.Color color)
color
- The foreground color.public void actionPerformed(nextapp.echo.app.event.ActionEvent e)
actionPerformed
in interface nextapp.echo.app.event.ActionListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |