public interface EditorView<T extends EditorDocument> extends PropertyChangeNotifier, EditorLocationListener<T>
Modifier and Type | Field and Description |
---|---|
static String |
TITLE_PROPERTY |
Modifier and Type | Method and Description |
---|---|
boolean |
activate(EditorLocation<T> location) |
void |
addLocationListener(EditorLocationListener<T> listener) |
boolean |
deactivate() |
JComponent |
getComponent() |
T |
getDocument() |
Editor<T> |
getEditor() |
EditorLocation<T> |
getEditorLocation() |
String |
getTitle() |
String |
getViewId() |
void |
release() |
void |
removeLocationListener(EditorLocationListener<T> listener) |
void |
requestFocus() |
void |
setDocument(T document) |
void |
setEditable(boolean enabled) |
void |
setLocation(EditorLocation<T> location) |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
locationChanged
static final String TITLE_PROPERTY
String getTitle()
JComponent getComponent()
boolean deactivate()
boolean activate(EditorLocation<T> location)
EditorLocation<T> getEditorLocation()
void setLocation(EditorLocation<T> location)
void setDocument(T document)
T getDocument()
void addLocationListener(EditorLocationListener<T> listener)
void removeLocationListener(EditorLocationListener<T> listener)
void release()
void setEditable(boolean enabled)
String getViewId()
void requestFocus()
Copyright © 2019. All Rights Reserved.