|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.Column
ch.uzh.ifi.attempto.acewiki.gui.page.WikiPage
public abstract class WikiPage
This is the superclass of all page classes. It represents a wiki page of AceWiki.
| Field Summary |
|---|
| Fields inherited from class nextapp.echo2.app.Column |
|---|
PROPERTY_BORDER, PROPERTY_CELL_SPACING, PROPERTY_INSETS |
| Fields inherited from class nextapp.echo2.app.Component |
|---|
CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_TRAVERSAL_INDEX_CHANGED_PROPERTY, FOCUS_TRAVERSAL_PARTICIPANT_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 | |
|---|---|
WikiPage(Wiki wiki,
Title title)
Initializes a new wiki page. |
|
| Method Summary | |
|---|---|
protected void |
addHeadline(java.lang.String text)
Adds a headline to the page content. |
protected void |
addHorizontalLine()
Adds a horizontal line to the page content. |
protected void |
addSelectedTab(java.lang.String tabName)
Adds a new tab to the tab row that is currently selected. |
protected void |
addTab(java.lang.String tabName,
nextapp.echo2.app.event.ActionListener actionListener)
Adds a new tab to the tab row. |
protected void |
addTab(java.lang.String tabName,
java.lang.String actionCommand,
nextapp.echo2.app.event.ActionListener actionListener)
Adds a new tab to the tab row. |
protected void |
doUpdate()
Updates the page content. |
abstract boolean |
equals(java.lang.Object obj)
|
protected Title |
getTitle()
Returns the title component. |
Wiki |
getWiki()
Returns the wiki instance this page belongs to. |
boolean |
isExpired()
Checks if the page has expired. |
protected void |
log(java.lang.String type,
java.lang.String text)
Writes a log entry. |
void |
update()
Checks whether the page still exists and updates the page content. |
| Methods inherited from class nextapp.echo2.app.Column |
|---|
getBorder, getCellSpacing, getInsets, setBorder, setCellSpacing, setInsets |
| Methods inherited from class nextapp.echo2.app.Component |
|---|
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusTraversalIndex, getFont, getForeground, getId, getIndexedProperty, getLayoutData, getLayoutDirection, getLocale, getParent, getProperty, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLayoutDirection, 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, setBackground, setEnabled, setFocusTraversalIndex, setFocusTraversalParticipant, setFont, setForeground, setId, setIndexedProperty, setLayoutData, setLayoutDirection, setLocale, setProperty, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WikiPage(Wiki wiki,
Title title)
wiki - The wiki instance.title - The title component.| Method Detail |
|---|
public final void update()
protected void doUpdate()
public Wiki getWiki()
protected Title getTitle()
protected void log(java.lang.String type,
java.lang.String text)
type - The type of the log entry.text - The log text.public boolean isExpired()
protected void addTab(java.lang.String tabName,
java.lang.String actionCommand,
nextapp.echo2.app.event.ActionListener actionListener)
tabName - The name of the tab.actionCommand - The action command that is given to the action event object.actionListener - The actionlistener.
protected void addTab(java.lang.String tabName,
nextapp.echo2.app.event.ActionListener actionListener)
tabName - The name of the tab.actionListener - The actionlistener.protected void addSelectedTab(java.lang.String tabName)
tabName - The name of the tab.protected void addHorizontalLine()
protected void addHeadline(java.lang.String text)
text - The headline text.public abstract boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||