com.bbn.openmap.tools.icon
Class IconFactoryTestingTool

java.lang.Object
  extended bycom.bbn.openmap.tools.icon.IconFactoryTestingTool
All Implemented Interfaces:
Tool

public class IconFactoryTestingTool
extends java.lang.Object
implements Tool

An example class and example for how to use the OMIconFactory and IconParts to create Icons. Can be run as a class, or can be used as an OpenMap Tool to show up on the OpenMap ToolPanel.


Constructor Summary
IconFactoryTestingTool()
           
 
Method Summary
 java.awt.Container getFace()
          The retrieval tool's interface.
 java.lang.String getKey()
          The retrieval key for this tool
 int getOrientation()
           
static void main(java.lang.String[] argv)
           
 void setKey(java.lang.String aKey)
          Set the retrieval key for this tool
 void setOrientation(int orientation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconFactoryTestingTool

public IconFactoryTestingTool()
Method Detail

getFace

public java.awt.Container getFace()
The retrieval tool's interface. This is added to the tool bar.

Specified by:
getFace in interface Tool
Returns:
String The key for this tool.

getKey

public java.lang.String getKey()
The retrieval key for this tool

Specified by:
getKey in interface Tool
Returns:
String The key for this tool.

setKey

public void setKey(java.lang.String aKey)
Set the retrieval key for this tool

Specified by:
setKey in interface Tool
Parameters:
aKey - The key for this tool.

main

public static void main(java.lang.String[] argv)

setOrientation

public void setOrientation(int orientation)

getOrientation

public int getOrientation()


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details