|
|||||||||
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.ContentPane
ch.uzh.ifi.attempto.acewiki.gui.editor.FormPane
ch.uzh.ifi.attempto.acewiki.gui.editor.VerbForm
public class VerbForm
This class represents a form to create or modify verbs.
Field Summary |
---|
Fields inherited from class nextapp.echo2.app.ContentPane |
---|
PROPERTY_BACKGROUND_IMAGE, PROPERTY_HORIZONTAL_SCROLL, PROPERTY_INSETS, PROPERTY_VERTICAL_SCROLL |
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 | |
---|---|
VerbForm(VerbRole verbRole,
int wordNumber,
WindowPane window,
Wiki wiki,
nextapp.echo2.app.event.ActionListener actionListener)
Creates a new verb form. |
Method Summary | |
---|---|
static WordEditorWindow |
createCreatorWindow(int wordNumber,
Wiki wiki,
nextapp.echo2.app.event.ActionListener actionListener)
Creates a new creator window for verbs. |
static WordEditorWindow |
createEditorWindow(VerbRole role,
Wiki wiki)
Creates a new editor window for verbs. |
protected void |
save()
This method should try to save the word with the current properties and should show error messages if this is not successful. |
java.lang.String |
toString()
|
Methods inherited from class ch.uzh.ifi.attempto.acewiki.gui.editor.FormPane |
---|
actionPerformed, addRow, finished, finished, getWiki, isValidString, normalize, setIconRow, showErrorMessage |
Methods inherited from class nextapp.echo2.app.ContentPane |
---|
getBackgroundImage, getHorizontalScroll, getInsets, getVerticalScroll, isValidChild, isValidParent, processInput, setBackgroundImage, setHorizontalScroll, setInsets, setVerticalScroll |
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, isVisible, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VerbForm(VerbRole verbRole, int wordNumber, WindowPane window, Wiki wiki, nextapp.echo2.app.event.ActionListener actionListener)
verbRole
- The role that is represented by the verb.wordNumber
- The word form id (only used if called from the sentence editor).window
- The host window of the form.wiki
- The wiki instance.actionListener
- The actionlistener.Method Detail |
---|
public static WordEditorWindow createCreatorWindow(int wordNumber, Wiki wiki, nextapp.echo2.app.event.ActionListener actionListener)
wordNumber
- The word form id (only used if called from the sentence editor).wiki
- The wiki instance.actionListener
- The actionlistener.
public static WordEditorWindow createEditorWindow(VerbRole role, Wiki wiki)
role
- The role that is represented by the verb that should be edited.wiki
- The wiki instance.
protected void save()
FormPane
save
in class FormPane
FormPane.finished(OntologyElement)
,
FormPane.finished(OntologyElement, int)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |