|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.visat.AbstractVisatPlugIn
public abstract class AbstractVisatPlugIn
An abstract implementation of the VisatPlugIn interface.
| Constructor Summary | |
|---|---|
protected |
AbstractVisatPlugIn()
|
| Method Summary | |
|---|---|
URL |
getResource(String resourcePath)
Finds a resource with a given path. |
ImageIcon |
loadImageIcon(String resourcePath)
Load an image icon from the given resource path. |
void |
stop(VisatApp visatApp)
Called the application shuts down. |
void |
updateComponentTreeUI()
Tells a plug-in to update its component tree (if any) since the Java look-and-feel has changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.esa.beam.visat.VisatPlugIn |
|---|
start |
| Constructor Detail |
|---|
protected AbstractVisatPlugIn()
| Method Detail |
|---|
public void stop(VisatApp visatApp)
Clients shall override this method in order to clean-up the resources they have allocated. This default implementation does nothing.
stop in interface VisatPlugInvisatApp - a reference to the application instance.public ImageIcon loadImageIcon(String resourcePath)
resourcePath - name of the desired resource
public URL getResource(String resourcePath)
resourcePath - name of the desired resource
java.net.URL object or null, if no such can be foundpublic void updateComponentTreeUI()
If a plug-in uses top-level containers such as dialogs or frames, implementors of this method should invoke
SwingUtilities.updateComponentTreeUI() on such containers.
The default implementation does nothing.
updateComponentTreeUI in interface VisatPlugIn
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||