org.opennms.web.svclayer
Class PaletteItem

java.lang.Object
  extended by org.opennms.web.svclayer.PaletteItem

public class PaletteItem
extends Object

PaletteItem class.

Since:
1.8.1
Version:
$Id: $
Author:
Mathew Brozowski, DJ Gregor, Mathew Brozowski, DJ Gregor

Field Summary
static PaletteItem SPACER
          Constant SPACER
 
Constructor Summary
  PaletteItem(String id, String label)
          Constructor for PaletteItem.
protected PaletteItem(String id, String label, boolean spacer)
          Constructor for PaletteItem.
 
Method Summary
 String getId()
          getId
 String getLabel()
          getLabel
 boolean isSpacer()
          isSpacer
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SPACER

public static final PaletteItem SPACER
Constant SPACER

Constructor Detail

PaletteItem

protected PaletteItem(String id,
                      String label,
                      boolean spacer)

Constructor for PaletteItem.

Parameters:
id - a String object.
label - a String object.
spacer - a boolean.

PaletteItem

public PaletteItem(String id,
                   String label)

Constructor for PaletteItem.

Parameters:
id - a String object.
label - a String object.
Method Detail

getLabel

public String getLabel()

getLabel

Returns:
a String object.

getId

public String getId()

getId

Returns:
a String object.

isSpacer

public boolean isSpacer()

isSpacer

Returns:
a boolean.

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.


Copyright © 2011. All Rights Reserved.