org.jaffa.components.menu
Class Option

java.lang.Object
  extended byorg.jaffa.components.menu.Option

public class Option
extends Object

This object describes the Options for each Group. The details of the Option are read in from the XML file.


Constructor Summary
Option()
           
 
Method Summary
 String getCompURL()
          Getter for property CompURL - link to be executed for the option.
 String getIcon()
          Getter for the property Icon - path to the graphics of the Icon
 String getName()
          Getter for the property Name - Name of the Option
 boolean getURLTrue()
          Getter for URLTrue property.
 void setCompURL(String compURL)
          Getter for property CompURL - link to be executed for the option.
 void setIcon(String icon)
          Setter for the property Icon - path to the graphics of the Icon
 void setName(String name)
          Setter for the property Name - Name of the Option
 void setURLTrue(boolean URLTrue)
          Setter for property URLTrue-defines whether the link to execute is a URL or a Component
 String toString()
          Returns the Debug information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Option

public Option()
Method Detail

getURLTrue

public boolean getURLTrue()
Getter for URLTrue property. URLTrue determines whether this Option will run a Component or a URL.

Returns:
True - If Option executes

setURLTrue

public void setURLTrue(boolean URLTrue)
Setter for property URLTrue-defines whether the link to execute is a URL or a Component

Parameters:
URLTrue - True - Link is URL False - Link is Component

getName

public String getName()
Getter for the property Name - Name of the Option

Returns:
String containing Name of the Option

setName

public void setName(String name)
Setter for the property Name - Name of the Option

Parameters:
name - Name of the Option

getIcon

public String getIcon()
Getter for the property Icon - path to the graphics of the Icon

Returns:
path to the graphics of the Icon

setIcon

public void setIcon(String icon)
Setter for the property Icon - path to the graphics of the Icon

Parameters:
icon - path to the graphics of the Icon

getCompURL

public String getCompURL()
Getter for property CompURL - link to be executed for the option. Can be a Component or a URL

Returns:
String containing the link to be executed for the option. Can be a Component or a URL.

setCompURL

public void setCompURL(String compURL)
Getter for property CompURL - link to be executed for the option. Can be a Component or a URL

Parameters:
compURL - Link to be executed for the option. Can be a Component or a URL

toString

public String toString()
Returns the Debug information

Returns:
Returns the debug information


Copyright © 2002-2004 JAFFA Project.