public class SVGHREFObjectInteractor extends IlvObjectInteractor
IlvObjectInteractor
subclass allows the SVGInputStream
to reproduce the SVG 'a' (hyperlink) element behavior in a JViews
IlvManager
.IlvObjectInteractor
,
SVGInputStream
,
Serialized FormModifier and Type | Class and Description |
---|---|
static interface |
SVGHREFObjectInteractor.ManagerFactory
This interface should be implemented to allow the
SVGHREFObjectInteractor
to correctly manage hyperlinks requiring the creation of a new container. |
Constructor and Description |
---|
SVGHREFObjectInteractor()
Builds a new instance of
SVGHREFObjectInteractor . |
Modifier and Type | Method and Description |
---|---|
static SVGHREFObjectInteractor.ManagerFactory |
GetManagerFactory()
Returns the
ManagerFactory instance. |
boolean |
processEvent(IlvGraphic obj,
AWTEvent event,
IlvObjectInteractorContext context)
Deals with
MOUSE_RELEASED events to show the contents of the hyperlink. |
static void |
SetManagerFactory(SVGHREFObjectInteractor.ManagerFactory factory)
Allows you to set a
ManagerFactory implementation instance
that will be used to create a new IlvManager when
the SVG hyperlink element requires creation of a new container in which
to put objects of the linked file. |
Get, handleExpose, onEnter, onExit, Put
public SVGHREFObjectInteractor()
SVGHREFObjectInteractor
.public static void SetManagerFactory(SVGHREFObjectInteractor.ManagerFactory factory)
ManagerFactory
implementation instance
that will be used to create a new IlvManager
when
the SVG hyperlink element requires creation of a new container in which
to put objects of the linked file. This is the case when the SVG 'a' element
has the new
identifier as a value of the xlink:show
attribute.SVGHREFObjectInteractor.ManagerFactory
public static SVGHREFObjectInteractor.ManagerFactory GetManagerFactory()
ManagerFactory
instance.public boolean processEvent(IlvGraphic obj, AWTEvent event, IlvObjectInteractorContext context)
MOUSE_RELEASED
events to show the contents of the hyperlink.processEvent
in class IlvObjectInteractor
obj
- The graphic object.event
- The event to process.context
- The context in which the event occurred.true
if the event was handled
by this processEvent
invocation,
false
otherwise.IlvObjectInteractor.processEvent(ilog.views.IlvGraphic, java.awt.AWTEvent, ilog.views.IlvObjectInteractorContext)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.