com.moximedia.ows.website
Class SelectMenuOption

java.lang.Object
  extended bycom.moximedia.ows.website.SelectMenuOption
All Implemented Interfaces:
java.io.Serializable

public class SelectMenuOption
extends java.lang.Object
implements java.io.Serializable

An instance of the SelectMenuOption class is used to control the contents of the select menu.

Author:
Doug Cates - www.moximedia.com
See Also:
Serialized Form

Constructor Summary
SelectMenuOption()
          Creates new SelectMenuOption
 
Method Summary
 java.lang.String getDescription()
          Gets the displayed description of the option.
 boolean getEnabled()
          Gets an indicator of whether the option is enabled.
 java.lang.String getTarget()
          Gets the target frame for the url of the option.
 java.lang.String getUrl()
          Gets the url of the option.
 void setDescription(java.lang.String description)
          Sets the display name of the option.
 void setTarget(java.lang.String target)
          Sets the target frame for the url of the option.
 void setUrl(java.lang.String href)
          Sets the url of the option.
 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

SelectMenuOption

public SelectMenuOption()
Creates new SelectMenuOption

Method Detail

getDescription

public java.lang.String getDescription()
Gets the displayed description of the option.

Returns:
The description to be displayed on the select menu.

setDescription

public void setDescription(java.lang.String description)
Sets the display name of the option.


getEnabled

public boolean getEnabled()
Gets an indicator of whether the option is enabled.

Returns:
True if the option is enabled, otherwise false.

getUrl

public java.lang.String getUrl()
Gets the url of the option.

Returns:
The url called when the link on the select menu is clicked.

setUrl

public void setUrl(java.lang.String href)
Sets the url of the option.

Parameters:
href - The url called when the link on the select menu is clicked.

getTarget

public java.lang.String getTarget()
Gets the target frame for the url of the option.

Returns:
The target frame for the url called when the link on the select menu is clicked.

setTarget

public void setTarget(java.lang.String target)
Sets the target frame for the url of the option.

Parameters:
target - The target frame for the url called when the link on the select menu is clicked.

setXmlAttribute

public 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. This method should only be called from the SAX event handler.

Parameters:
tag - The XML element tag containing this attribute.
name - The XML attribute name.
value - The XML attribute value.


Internet Mapping Framework for OpenGIS Java Object Model API (v1.3.007)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.