gov.nih.nlm.mms.filters
Class ContentViewFilter.ContentViewOption

java.lang.Object
  extended by gov.nih.nlm.mms.filters.ContentViewFilter.ContentViewOption
Enclosing class:
ContentViewFilter

protected class ContentViewFilter.ContentViewOption
extends Object

Represents a single defined content view.


Constructor Summary
ContentViewFilter.ContentViewOption()
          Instantiates a ContentViewFilter.ContentViewOption
 
Method Summary
protected  JCheckBox getCheckBox()
          Returns the JCheckBox for this ContentViewOption.
protected  String getCode()
          Returns the code.
protected  String getDescription()
          Returns the description of the ContentViewOption.
protected  String getId()
          Returns the id of the ContentViewOption.
protected  String getName()
          Returns the name of the ContentViewOption.
protected  void initCheckBox()
          Initialize the JCheckBox for this ContentViewOption.
protected  void setCode(String code)
          Sets the code of the ContentViewOption.
protected  void setDescription(String desc)
          Sets the description of the ContentViewOption.
protected  void setId(String id)
          Sets the id of the ContentViewFilter.ContentViewOption.
protected  void setName(String name)
          Sets the name of the ContentViewOption.
 void setProperty(String key, String value)
          Initializes the ContentViewOption with data from the properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentViewFilter.ContentViewOption

public ContentViewFilter.ContentViewOption()
Instantiates a ContentViewFilter.ContentViewOption

Method Detail

initCheckBox

protected void initCheckBox()
Initialize the JCheckBox for this ContentViewOption.


getCheckBox

protected JCheckBox getCheckBox()
Returns the JCheckBox for this ContentViewOption.

Returns:
JCheckBox

setProperty

public void setProperty(String key,
                        String value)
Initializes the ContentViewOption with data from the properties.

Parameters:
key - name of the property
value - value of the property

setCode

protected void setCode(String code)
Sets the code of the ContentViewOption.

Parameters:
code - the code

getCode

protected String getCode()
Returns the code.

Returns:
code

setDescription

protected void setDescription(String desc)
Sets the description of the ContentViewOption.

Parameters:
desc - description

getDescription

protected String getDescription()
Returns the description of the ContentViewOption.

Returns:
description

setName

protected void setName(String name)
Sets the name of the ContentViewOption.

Parameters:
name - the name of the ContentViewOption

getName

protected String getName()
Returns the name of the ContentViewOption.

Returns:
name

setId

protected void setId(String id)
Sets the id of the ContentViewFilter.ContentViewOption.

Parameters:
id - the id of the ContentViewFilter.ContentViewOption

getId

protected String getId()
Returns the id of the ContentViewOption.

Returns:
id


Copyright ©2005