|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final int CENTRAL
public static final int VERTICAL
public static final int HORIZONTAL
Method Detail |
public Component getGUI()
Component
value.public int getType()
CENTRAL
,
HORIZONTAL
,
VERTICAL
public void setActive(boolean active)
active
- a boolean value.public boolean isActive()
public void setOwner(DocumentEditor editor)
editor
- the DocumentEditor
that contains this view.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |