com.moximedia.ows.website
Class SelectMenuOptions

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

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

An array of options to display in the select menu. Configurable using SELECT-MENU-OPTION in site configuration file.

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

Constructor Summary
SelectMenuOptions()
          Creates new SelectMenuOptions
 
Method Summary
 void add(SelectMenuOption option)
          Adds a new option to the collection.
 void clear()
          Clears all options from the collection.
 java.util.Iterator iterator()
          Returns an iterator to loop through the options.
 void remove(java.lang.String description)
          Removes the option with the specified description from the collection.
 int size()
          Returns the number of options in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectMenuOptions

public SelectMenuOptions()
Creates new SelectMenuOptions

Method Detail

add

public void add(SelectMenuOption option)
Adds a new option to the collection.

Parameters:
option - The option

clear

public void clear()
Clears all options from the collection.


iterator

public java.util.Iterator iterator()
Returns an iterator to loop through the options.

Returns:
The collection in an iterator.

remove

public void remove(java.lang.String description)
Removes the option with the specified description from the collection.

Parameters:
description - The description of the option.

size

public int size()
Returns the number of options in the collection.

Returns:
The count.


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.