|
Multivalent API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmultivalent.VObject
multivalent.Behavior
multivalent.std.ui.Zoom
Zoom controls.
| Field Summary | |
|---|---|
static java.lang.String |
ARG_BIGGER
|
static java.lang.String |
ARG_FIT_PAGE
Argument to MSG_SET to set zoom to fit entire page. |
static java.lang.String |
ARG_FIT_WIDTH
Argument to MSG_SET to zoom page to width of window
|
static java.lang.String |
ARG_SMALLER
|
static java.lang.String |
ATTR_ZOOMS
Attribute in hub for list of zoom factors. |
static java.lang.String |
MSG_CREATE_ZOOM
Construct Zoom menu by passing around to behaviors and letting them add (or delete) entiries. |
static java.lang.String |
MSG_GET
Reports current zoom factor. |
static java.lang.String |
MSG_SET
Sets zoom factor from arg. |
| Fields inherited from class multivalent.Behavior |
|---|
ATTR_BEHAVIOR, name_ |
| Fields inherited from class multivalent.VObject |
|---|
attr_ |
| Constructor Summary | |
|---|---|
Zoom()
|
|
| Method Summary | |
|---|---|
void |
restore(ESISNode n,
java.util.Map<java.lang.String,java.lang.Object> attr,
Layer layer)
Takes the place of a constructor's initialization functions; that is, it is invoked exactly once immediately after object instantiation. |
boolean |
semanticEventAfter(SemanticEvent se,
java.lang.String msg)
Round robin distribution to all behaviors. |
boolean |
semanticEventBefore(SemanticEvent se,
java.lang.String msg)
Round robin distribution to all behaviors. |
| Methods inherited from class multivalent.Behavior |
|---|
buildAfter, buildBefore, checkRep, clipboardAfter, clipboardBefore, createUI, destroy, eventAfter, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restoreChildren, save, setName, toString, undo |
| Methods inherited from class multivalent.VObject |
|---|
attrEntrySetIterator, attrKeysIterator, clearAttributes, getAttr, getAttr, getAttributes, getGlobal, getValue, hasAttributes, putAttr, removeAttr, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MSG_GET
"getZoom"
Current zoom is returned as Float in event argument.
public static final java.lang.String MSG_SET
"setZoom": arg= Float or String zoom-factor, where 1.0 is 100%
public static final java.lang.String ARG_BIGGER
public static final java.lang.String ARG_SMALLER
public static final java.lang.String ARG_FIT_WIDTH
MSG_SET to zoom page to width of window.
public static final java.lang.String ARG_FIT_PAGE
MSG_SET to set zoom to fit entire page.
public static final java.lang.String MSG_CREATE_ZOOM
"createWidget/Zoom": out= VMenu instance-under-construction.
public static final java.lang.String ATTR_ZOOMS
| Constructor Detail |
|---|
public Zoom()
| Method Detail |
|---|
public boolean semanticEventBefore(SemanticEvent se,
java.lang.String msg)
Behavior
semanticEventBefore in class Behavior
public boolean semanticEventAfter(SemanticEvent se,
java.lang.String msg)
Behavior
semanticEventAfter in class Behavior
public void restore(ESISNode n,
java.util.Map<java.lang.String,java.lang.Object> attr,
Layer layer)
Behavior
restore in class Behavior
|
Multivalent API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||