|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsWebSiteTab
This class represents a single tab used in the MELP ISB web site framework. Tabs are created then added to the AimsWebSite object using XML configuration files.
| Field Summary | |
static int |
TAB_TYPE_GRAPHIC
Graphic tab type. |
static int |
TAB_TYPE_TEXT
Text tab type. |
static int |
TAB_TYPE_UNKNOWN
Unknown tab type. |
| Constructor Summary | |
AimsWebSiteTab()
Creates new AimsWebSiteTab |
|
AimsWebSiteTab(int tabType)
Creates new AimsWebSiteTab |
|
| Method Summary | |
java.lang.String |
getGraphic()
Gets the URL of the graphic image for the tab. |
int |
getHeight()
Gets the height of the graphic image for the tab. |
java.lang.String |
getHelp()
Gets the descriptive help for the tool button for use in the generated help page. |
java.lang.String |
getHelpUrl()
Returns the url of additional help for this tool. |
java.lang.String |
getHint()
Gets the hint that will appear when the mouse is over the tab. |
java.lang.String |
getName()
Gets the name of the tab. |
java.lang.String |
getRolloverGraphic()
Gets the URL of the rollover graphic image for the tab. |
java.lang.String |
getStatusMessage()
Gets the status message that will appear when the mouse is over the tab. |
int |
getTabType()
Sets the type of tab that this is. |
java.lang.String |
getTarget()
Gets the target frame of the tab that the URL will be executed in when it is pushed. |
java.lang.String |
getUrl()
Gets the URL of the document or JavaScript function that will be executed when it is pushed. |
int |
getWidth()
Gets the width of the graphic image for the tab. |
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 |
setGraphic(java.lang.String url)
The URL of the tab's graphic image. |
void |
setHeight(int height)
Gets the height of the graphic image for the tab. |
void |
setHelpUrl(java.lang.String url)
Sets the url of additional help for this tool. |
void |
setHint(java.lang.String hint)
Sets the hint text that will display when the mouse is over the tab. |
void |
setName(java.lang.String name)
Sets the name of a tab. |
void |
setRolloverGraphic(java.lang.String url)
The URL of the tab's rollover graphic image. |
void |
setStatusMessage(java.lang.String statusMessage)
Sets the status message that will display when the mouse is ovet the tab. |
void |
setTabType(int tabType)
Sets the type of tab that this is. |
void |
setTarget(java.lang.String target)
Sets the target frame where the URL is executed. |
void |
setUrl(java.lang.String url)
Sets the URL or Javascript function that is executed when the tab is pressed. |
void |
setWidth(int width)
Sets the width of the graphic image for the tab. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int TAB_TYPE_UNKNOWN
public static final int TAB_TYPE_GRAPHIC
public static final int TAB_TYPE_TEXT
| Constructor Detail |
public AimsWebSiteTab()
public AimsWebSiteTab(int tabType)
tabType - The type of tab, TAB_TYPE_GRAPHIC or TAB_TYPE_TEXT.| Method Detail |
public void setAxlAttribute(AimsWebSiteConfig conf,
java.lang.String tag,
java.lang.String name,
java.lang.String value)
conf - The site donfiguration object used to get relative paths.tag - The AXL element tag containing this attribute.name - The AXL attribute name.value - The AXL attribute value.public void setGraphic(java.lang.String url)
url - The URL of the tab's image.public java.lang.String getGraphic()
public void setHeight(int height)
height - The height of the graphic image for the tab.public int getHeight()
public java.lang.String getHelp()
public void setHelpUrl(java.lang.String url)
url - The URL of the file containing help, or null.public java.lang.String getHelpUrl()
public java.lang.String getHint()
public void setHint(java.lang.String hint)
hint - The hint text.public java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the tab.public java.lang.String getRolloverGraphic()
public void setRolloverGraphic(java.lang.String url)
url - The URL of the tab's rollover image.public java.lang.String getStatusMessage()
public void setStatusMessage(java.lang.String statusMessage)
statusMessage - The status message.public int getTabType()
public void setTabType(int tabType)
tabType - The type of tab, TAB_TYPE_GRAPHIC or TAB_TYPE_TEXT.public java.lang.String getTarget()
public void setTarget(java.lang.String target)
target - The target frame for the tab's action.public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - The URL or Javascript function that is executed when the tab is pressed.public int getWidth()
public void setWidth(int width)
width - The width of the graphic image for the tab.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||