marvin.plugin
Class MarvinAbstractImagePlugin
java.lang.Object
marvin.plugin.MarvinAbstractImagePlugin
- All Implemented Interfaces:
- MarvinImagePlugin, MarvinPlugin
public abstract class MarvinAbstractImagePlugin
- extends java.lang.Object
- implements MarvinImagePlugin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarvinAbstractImagePlugin
protected MarvinAbstractImagePlugin()
- Empty constructor
getAttributes
public MarvinAttributes getAttributes()
- Specified by:
getAttributes in interface MarvinImagePlugin
- Returns:
- MarvinAttributes object associated with this plug-in
setAttribute
public void setAttribute(java.lang.String label,
java.lang.Object value)
- Set an attribute
- Specified by:
setAttribute in interface MarvinImagePlugin
- Parameters:
a_attrName - attribute´s namevalue - attribute´s value
getAttribute
public java.lang.Object getAttribute(java.lang.String label)
- Specified by:
getAttribute in interface MarvinImagePlugin
- Parameters:
a_attrName - atribute´s name
- Returns:
- the attribute´s value
setImagePanel
public void setImagePanel(MarvinImagePanel imgPanel)
- Associates the plug-in with an MarvinImagePanel
- Specified by:
setImagePanel in interface MarvinImagePlugin
- Parameters:
imgPanel - reference to a MarvinImagePanel object
getImagePanel
public MarvinImagePanel getImagePanel()
- Specified by:
getImagePanel in interface MarvinImagePlugin
- Returns:
- a reference to the associated MarvinImagePanel. If no one MarvinImagePanel is associated with this plug-in,
this method returns null.