multivalent.std.ui

Class Zoom

public class Zoom extends Behavior

Zoom controls -- just work on PDF for now. For now simple menu of zoom factors, which are taken from ZOOMS attribute in hub.

Version: $Revision: 1.2 $ $Date: 2002/01/26 15:04:13 $

Field Summary
static StringATTR_ZOOM
static StringATTR_ZOOMS
static StringMSG_CREATE_ZOOM
Construct Zoom menu by passing around to behaviors and letting them add (or delete) entiries.
static StringMSG_GET
Reports current zoom factor.
static StringMSG_SET
Sets zoom factor from arg.
Method Summary
voidrestore(ESISNode n, Map<String,Object> attr, Layer layer)
booleansemanticEventAfter(SemanticEvent se, String msg)
booleansemanticEventBefore(SemanticEvent se, String msg)
On MSG_CREATE_VIEW, add "Publish Annos to " to menu.

Field Detail

ATTR_ZOOM

public static final String ATTR_ZOOM

ATTR_ZOOMS

public static final String ATTR_ZOOMS

MSG_CREATE_ZOOM

public static final String MSG_CREATE_ZOOM
Construct Zoom menu by passing around to behaviors and letting them add (or delete) entiries.

"createWidget/Zoom": out= VMenu instance-under-construction.

MSG_GET

public static final String MSG_GET
Reports current zoom factor.

"getZoom": arg= java.lang.Double zoom-factor

MSG_SET

public static final String MSG_SET
Sets zoom factor from arg.

"setZoom": arg= java.lang.Double zoom-factor

Method Detail

restore

public void restore(ESISNode n, Map<String,Object> attr, Layer layer)

semanticEventAfter

public boolean semanticEventAfter(SemanticEvent se, String msg)

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se, String msg)
On MSG_CREATE_VIEW, add "Publish Annos to " to menu.