|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.tools.drawing.AbstractToolLoader com.bbn.openmap.tools.drawing.OMPolyLoader
public class OMPolyLoader
Loader that knows how to create/edit OMPoly objects.
Field Summary | |
---|---|
protected java.lang.String |
graphicClassName
|
protected java.lang.String |
labeledClassName
|
Fields inherited from class com.bbn.openmap.tools.drawing.AbstractToolLoader |
---|
graphicInfo, i18n |
Constructor Summary | |
---|---|
OMPolyLoader()
|
Method Summary | |
---|---|
EditableOMGraphic |
getEditableGraphic(OMGraphic graphic)
Give an OMGraphic to the EditToolLoader, which will create an EditableOMGraphic for it. |
EditableOMGraphic |
getEditableGraphic(java.lang.String classname,
GraphicAttributes ga)
Give the classname of a graphic to create, returning an EditableOMGraphic for that graphic. |
void |
init()
Each subclass should initialize the graphicInfo HashMap by calling addEditClassWrapper(EditClassWrapper). |
Methods inherited from class com.bbn.openmap.tools.drawing.AbstractToolLoader |
---|
addEditClassWrapper, getEditableClasses, getEditableGraphic, getIcon, getPrettyName, removeEditClassWrapper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bbn.openmap.tools.drawing.EditToolLoader |
---|
getEditableClasses, getEditableGraphic, getIcon, getPrettyName |
Field Detail |
---|
protected java.lang.String graphicClassName
protected java.lang.String labeledClassName
Constructor Detail |
---|
public OMPolyLoader()
Method Detail |
---|
public void init()
AbstractToolLoader
init
in class AbstractToolLoader
public EditableOMGraphic getEditableGraphic(java.lang.String classname, GraphicAttributes ga)
getEditableGraphic
in interface EditToolLoader
getEditableGraphic
in class AbstractToolLoader
public EditableOMGraphic getEditableGraphic(OMGraphic graphic)
getEditableGraphic
in interface EditToolLoader
getEditableGraphic
in class AbstractToolLoader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |