com.moximedia.ows.website
Class SelectSetOption

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

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

An instance of the SelectSetOption class is used to control the contents of the selected set result page.

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

Constructor Summary
SelectSetOption()
          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 getSpinner()
          Gets the spinner (loadMap, loadData) shown when the option is executed.
 java.lang.String getTarget()
          Gets the target frame for the url of the option.
 java.lang.String getTitle()
          Gets the display title for 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 setSpinner(java.lang.String spinner)
          Gets the spinner (loadMap, loadData) shown when the option is executed.
 void setTarget(java.lang.String target)
          Sets the target frame for the url of the option.
 void setTitle(java.lang.String title)
          Sets the display title for 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

SelectSetOption

public SelectSetOption()
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.

getSpinner

public java.lang.String getSpinner()
Gets the spinner (loadMap, loadData) shown when the option is executed.

Returns:
The spinner name (loadMap, loadData) or "" if no spinner is used.

setSpinner

public void setSpinner(java.lang.String spinner)
Gets the spinner (loadMap, loadData) shown when the option is executed.

Parameters:
spinner - The spinner name (loadMap, loadData) or "" if no spinner is used.

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.

getTitle

public java.lang.String getTitle()
Gets the display title for the option.

Returns:
The title for the option in the selected set summary page.

setTitle

public void setTitle(java.lang.String title)
Sets the display title for the option.

Parameters:
title - The title for the option in the selected set summary page.

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.