|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentView
A document viewer is composed out of several views (like the one showing the
text, the one showing the annotation sets, the on showing the annotations
table, etc.). This is the base interface for all the document views.
All document views are panes inside a DocumentEditor
object.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from interface gate.gui.ActionsPublisher |
---|
getActions |
Methods inherited from interface gate.VisualResource |
---|
setHandle, setTarget |
Methods inherited from interface gate.Resource |
---|
cleanup, getParameterValue, init, setParameterValue, setParameterValues |
Methods inherited from interface gate.util.FeatureBearer |
---|
getFeatures, setFeatures |
Methods inherited from interface gate.util.NameBearer |
---|
getName, setName |
Field Detail |
---|
static final int CENTRAL
static final int VERTICAL
static final int HORIZONTAL
Method Detail |
---|
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.
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |