|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsWebSiteTool
This class represents a map tool button used in the MELP ISB web site framework. Tools are created then added to the AimsWebSite object using XML configuration files.
| Constructor Summary | |
AimsWebSiteTool()
Creates new WebSiteButton |
|
| 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 |
getCursorStyle()
Gets the cursor to show when this tool is active. |
java.lang.String |
getHandler()
Gets the custom handler for of the tool button. |
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. |
java.lang.String |
getOption(java.lang.String optionName)
|
java.lang.String |
getOptions()
Gets the options for the tool button. |
java.lang.String |
getShapeType()
Gets the shape type of the tool button. |
boolean |
getShowPoint()
Returns true if the tool or button is for advanced users, otherwise false. |
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 button that will be executed when it is pushed. |
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()
Gets an indicator of whether a tool is shown in a popup window. |
boolean |
isTool()
Returns true if the tool button is a tool, otherwise false. |
boolean |
isVisible()
Returns true if the tool is visible, otherwise false. |
void |
setActiveGraphic(java.lang.String graphic)
The URL of the graphic that will appear when the tool is active. |
void |
setAxlAttribute(AimsWebSiteConfig 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. |
void |
setCursorGeneric(java.lang.String cursor)
Sets the generic cursor for the tool. |
void |
setCursorUrl(java.lang.String cursor)
Sets the URL to the cursor for the tool. |
void |
setHint(java.lang.String hint)
Sets the hint text that will display when the mouse is over the tool. |
void |
setIsButton(boolean isButton)
Sets this tool to be a button as opposed to a tool or a space. |
void |
setIsSpace(boolean isSpace)
Sets this tool to be a space. |
void |
setIsTool(boolean isTool)
Sets this tool to be a tool as opposed to a button or a space. |
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 |
setPopup(boolean isPopup)
Sets whether a tool is shown in a popup window. |
void |
setShapeType(java.lang.String type)
Sets the shape type of the tool button. |
void |
setShowPoint(boolean showPoint)
Sets whether the clicked point should be displayed. |
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)
Sets the visiblity of a tool |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AimsWebSiteTool()
| Method Detail |
public java.lang.String getCursorStyle()
public void setCursorGeneric(java.lang.String cursor)
cursor - The name of the CSS2 generic cursor.public void setCursorUrl(java.lang.String cursor)
cursor - The URL of the cursor.
public void setAxlAttribute(AimsWebSiteConfig 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 void setName(java.lang.String name)
name - The name of the map tool.public void setUrl(java.lang.String url)
public void setTarget(java.lang.String target)
target - The target frame for the tool's action.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 setIsButton(boolean isButton)
isButton - True if the tool is a button, otherwise false.public void setIsSpace(boolean isSpace)
isSpace - True if the tool is a space, otherwise false.public void setIsTool(boolean isTool)
isTool - True if the tool is a tool, otherwise false.public boolean getIsSpace()
public void setShowPoint(boolean showPoint)
showPoint - True if the click point should be shown, otherwise false.public java.lang.String getOptions()
public java.lang.String getOption(java.lang.String optionName)
public java.lang.String getName()
public java.lang.String getShapeType()
public void setShapeType(java.lang.String type)
type - The shape type of the tool button.public java.lang.String getHandler()
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 isTool()
public boolean getShowPoint()
public boolean isButton()
public boolean isVisible()
public void setVisible(boolean isVisible)
isVisible - True if the tool should be visible.public void setPopup(boolean isPopup)
isPopup - True if the tool should popup, otherwise false.public boolean isPopup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||