public interface DocumentView extends ActionsPublisher, VisualResource
DocumentEditor
object.Modifier and Type | Field and Description |
---|---|
static int |
CENTRAL
Constant for the CENTRAL type of the view inside the document editor.
|
static int |
HORIZONTAL
Constant for the HORIZONTAL type of the view inside the document editor.
|
static int |
VERTICAL
Constant for the VERTICAL type of the view inside the document editor.
|
Modifier and Type | Method and Description |
---|---|
Component |
getGUI()
Returns the actual UI component this view represents.
|
int |
getType()
Returns the type of this view.
|
boolean |
isActive()
Returns the active state of this view.
|
void |
setActive(boolean active)
Notifies this view that it has become active or inactive.
|
void |
setOwner(DocumentEditor editor)
Notifies this view of its owner.
|
void |
setSelectedAnnotations(List<AnnotationData> selectedAnnots)
Some document views can use the concept of selected annotations.
|
getActions
setHandle, setTarget
cleanup, getParameterValue, init, setParameterValue, setParameterValues
getFeatures, setFeatures
getName, setName
static final int CENTRAL
static final int VERTICAL
static final int HORIZONTAL
Component getGUI()
Component
value.int getType()
CENTRAL
,
HORIZONTAL
,
VERTICAL
void setActive(boolean active)
active
- a boolean value.boolean isActive()
void setOwner(DocumentEditor editor)
editor
- the DocumentEditor
that contains this view.void setSelectedAnnotations(List<AnnotationData> selectedAnnots)
DocumentEditor.setSelectedAnnotations(List)
method.selectedAnnots
-