public abstract class AbstractXmlEditorView<T extends XmlDocument> extends Object implements XmlEditorView<T>, PropertyChangeListener
TITLE_PROPERTY| Constructor and Description | 
|---|
| AbstractXmlEditorView(String title,
                     XmlEditor<T> xmlEditor,
                     String viewId) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsaveDocumentgetComponent, setEditableprotected PropertyChangeSupport getPropertyChangeSupport()
public String getViewId()
getViewId in interface EditorView<T extends XmlDocument>public boolean activate(EditorLocation<T> location)
activate in interface EditorView<T extends XmlDocument>public void update()
public boolean deactivate()
deactivate in interface EditorView<T extends XmlDocument>public boolean isActive()
public String getTitle()
getTitle in interface EditorView<T extends XmlDocument>public void setTitle(String title)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener in interface PropertyChangeNotifierpublic void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface PropertyChangeNotifierpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface PropertyChangeNotifierpublic void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener in interface PropertyChangeNotifierpublic T getDocument()
getDocument in interface EditorView<T extends XmlDocument>public void setDocument(T xmlDocument)
setDocument in interface EditorView<T extends XmlDocument>public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic void documentUpdated()
public void release()
release in interface EditorView<T extends XmlDocument>public void addLocationListener(EditorLocationListener<T> listener)
addLocationListener in interface EditorView<T extends XmlDocument>public void removeLocationListener(EditorLocationListener<T> listener)
removeLocationListener in interface EditorView<T extends XmlDocument>public void fireLocationChanged(EditorLocation<T> location)
public EditorLocation<T> getEditorLocation()
getEditorLocation in interface EditorView<T extends XmlDocument>public String getXml()
public void setLocation(EditorLocation<T> location)
setLocation in interface EditorView<T extends XmlDocument>public void locationChanged(EditorLocation<T> location)
locationChanged in interface EditorLocationListener<T extends XmlDocument>public void syncUpdates()
public XmlEditor<T> getEditor()
getEditor in interface EditorView<T extends XmlDocument>public void requestFocus()
requestFocus in interface EditorView<T extends XmlDocument>Copyright © 2019. All Rights Reserved.