org.wilmascope.view
Class ViewManager.Registry
java.lang.Object
org.wilmascope.view.ViewManager.Registry
- Enclosing class:
- ViewManager
public class ViewManager.Registry
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewManager.Registry
public ViewManager.Registry()
getViewNames
public java.lang.String[] getViewNames()
create
public GraphElementView create(java.lang.String type)
throws ViewManager.UnknownViewTypeException
- Throws:
ViewManager.UnknownViewTypeException
getDefaultViewPrototype
public GraphElementView getDefaultViewPrototype()
throws ViewManager.UnknownViewTypeException
- Throws:
ViewManager.UnknownViewTypeException
create
public GraphElementView create()
throws ViewManager.UnknownViewTypeException
- Throws:
ViewManager.UnknownViewTypeException
setDefaultView
public void setDefaultView(java.lang.String type)
throws ViewManager.UnknownViewTypeException
- Throws:
ViewManager.UnknownViewTypeException
getIcon
public javax.swing.ImageIcon getIcon(java.lang.String type)
throws ViewManager.UnknownViewTypeException
- Throws:
ViewManager.UnknownViewTypeException
getIcon
public javax.swing.ImageIcon getIcon()
throws ViewManager.UnknownViewTypeException
- Throws:
ViewManager.UnknownViewTypeException
addPrototypeView
public void addPrototypeView(GraphElementView prototype)