|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.gui.tools.ToolFactory org.geotools.gui.tools.ToolFactoryImpl
An implementation of ToolFactory to be used to construct tools. This class should not be called directly. Instead it should be created from ToolFactory, and ToolFactory methods should be called instead.
Constructor Summary | |
protected |
ToolFactoryImpl()
Create an instance of ToolFactoryImpl. |
Method Summary | |
ToolList |
createDefaultToolList()
Creates a ToolList with Pan, ZoomIn, ZoomOut and selectedTool=ZoomIn. |
PanTool |
createPanTool()
Create an instance of PanTool. |
ToolList |
createToolList()
Creates an empty ToolList with selectedTool=null. |
ZoomTool |
createZoomTool()
Create an instance of ZoomTool. |
ZoomTool |
createZoomTool(double zoomFactor)
Create an instance of ZoomTool. |
Methods inherited from class org.geotools.gui.tools.ToolFactory |
createFactory, createFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ToolFactoryImpl()
Method Detail |
public PanTool createPanTool()
ToolFactory
createPanTool
in class ToolFactory
public ZoomTool createZoomTool()
ToolFactory
createZoomTool
in class ToolFactory
public ZoomTool createZoomTool(double zoomFactor)
createZoomTool
in class ToolFactory
zoomFactor
- he factor to zoom in/out by, zoomFactor=0.5 means zoom
in, zoomFactor=2 means zoom out.
public ToolList createToolList()
createToolList
in class ToolFactory
public ToolList createDefaultToolList()
createDefaultToolList
in class ToolFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |