edu.umd.cfar.lamp.viper.examples
Class InsertIframesDescriptor
java.lang.Object
edu.umd.cfar.lamp.viper.examples.InsertIframesDescriptor
- public class InsertIframesDescriptor
- extends java.lang.Object
A helper class which inserts an 'iframe' descriptor into
the currently loaded file. This is useful for editing purposes,
and for only evaluating on the iframe. Requires a mediator
to be loaded with a viperdata file, and for the dataplayer
to properly implement the getImageType method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertIframesDescriptor
public InsertIframesDescriptor()
insertIFrameDescriptorConfig
public Config insertIFrameDescriptorConfig()
- Creates a new type of descriptor, called 'I-Frames',
if it doesn't already exist. Otherwise, locates it.
- Returns:
- the I-Frame descriptor config information
insertIFrameDescriptor
public void insertIFrameDescriptor()
- Inserts a new I-Frame descriptor into the currently selected
file, using the mediator's current DataPlayer object to
find where the iframes are.
getMediator
public ViperViewMediator getMediator()
- Returns:
- Returns the mediator.
setMediator
public void setMediator(ViperViewMediator mediator)
- Parameters:
mediator
- The mediator to set.
getAddIframeDescriptorAction
public javax.swing.Action getAddIframeDescriptorAction()
- Returns:
- Returns the addIframeDescriptorActionListener.