|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.website.Tool
This class represents a map tool button used in the IMF web site framework. Tools are created using XML configuration files.
| Field Summary |
| Fields inherited from interface com.moximedia.ows.types.ToolType |
TOOL_TYPE_BUTTON, TOOL_TYPE_SPACE, TOOL_TYPE_TOOL |
| Fields inherited from interface com.moximedia.ows.types.ToolShapeType |
TOOL_SHAPE_TYPE_BOX, TOOL_SHAPE_TYPE_LINE, TOOL_SHAPE_TYPE_POINT, TOOL_SHAPE_TYPE_POLYGON |
| Constructor Summary | |
Tool()
Creates new Tool |
|
| Method Summary | |
java.lang.String |
getActiveGraphic()
Gets the URL of the active graphic image for the tool button, the one that is displayed when the tool is active. |
java.lang.String |
getCleanName()
Gets the name of the tool button without quotes or apostrophies. |
int |
getHeight()
Returns the height of the tool button image. |
java.lang.String |
getHelp()
Gets the descriptive help for the tool button for use in the generated help page. |
java.lang.String |
getHint()
Gets the hint that will appear when the mouse is over the tool button. |
boolean |
getIsSpace()
|
java.lang.String |
getName()
Gets the name of the tool button. |
java.lang.String |
getNormalGraphic()
Gets the URL of the standard graphic image for the tool button. |
int |
getShapeType()
Gets the shape type of the tool button. |
java.lang.String |
getShapeTypeString()
Gets the shape type of the tool button. |
java.lang.String |
getStatusMessage()
Gets the status message that will appear when the mouse is over the tool button. |
java.lang.String |
getTarget()
Gets the target frame of the tool button that the URL will be executed in when it is pushed. |
java.lang.String |
getUrl()
Gets the URL of the tool or button that will be executed when it is used. |
int |
getWidth()
Returns the width of the tool button image. |
boolean |
isButton()
Returns true if the tool button is a button, otherwise false. |
boolean |
isPopup()
|
boolean |
isSpace()
Returns true if the tool button is a space, otherwise false. |
boolean |
isTool()
Returns true if the tool button is a tool, otherwise false. |
boolean |
isVisible()
Returns true if the tool is visible, otherwise false. |
boolean |
requiresVml()
|
void |
setActiveGraphic(java.lang.String graphic)
The URL of the graphic that will appear when the tool is active. |
void |
setHint(java.lang.String hint)
Sets the hint text that will display when the mouse is over the tool. |
void |
setIsTool(boolean isTool)
Sets this tool to be a tool as opposed to a button. |
void |
setName(java.lang.String name)
Sets the name of a map tool. |
void |
setNormalGraphic(java.lang.String graphic)
The URL of the graphic that will appear when the tool is not active. |
void |
setShapeType(java.lang.String type)
|
void |
setStatusMessage(java.lang.String statusMessage)
Sets the status message that will display when the mouse is ovet the tool. |
void |
setTarget(java.lang.String target)
Sets the target frame where the URL is executed. |
void |
setUrl(java.lang.String url)
|
void |
setVisible(boolean isVisible)
|
void |
setXmlAttribute(Config conf,
java.lang.String tag,
java.lang.String name,
java.lang.String value)
Sets one of the attributes of this object using a string value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Tool()
| Method Detail |
public void setXmlAttribute(Config conf,
java.lang.String tag,
java.lang.String name,
java.lang.String value)
tag - The AXL element tag containing this attribute.name - The AXL attribute name.value - The AXL attribute value.public java.lang.String getHelp()
public java.lang.String getName()
public java.lang.String getCleanName()
public void setName(java.lang.String name)
name - The name of the map tool.public boolean isPopup()
public void setTarget(java.lang.String target)
target - The target frame for the tool's action.public void setUrl(java.lang.String url)
public void setHint(java.lang.String hint)
hint - The hint text.public void setStatusMessage(java.lang.String statusMessage)
statusMessage - The status message.public void setNormalGraphic(java.lang.String graphic)
graphic - The URL of the standard (non-active) tool image.public void setActiveGraphic(java.lang.String graphic)
graphic - The URL of the active tool image.public void setIsTool(boolean isTool)
isTool - True if the tool is a tool, otherwise false.public boolean getIsSpace()
public int getShapeType()
public void setShapeType(java.lang.String type)
public java.lang.String getShapeTypeString()
public java.lang.String getUrl()
public java.lang.String getTarget()
public java.lang.String getHint()
public java.lang.String getStatusMessage()
public java.lang.String getNormalGraphic()
public java.lang.String getActiveGraphic()
public int getWidth()
public int getHeight()
public boolean isSpace()
public boolean isTool()
public boolean isButton()
public boolean requiresVml()
public boolean isVisible()
public void setVisible(boolean isVisible)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||