org.devaki.nextobjects.ui.workspace.models.objects
Class ConstraintEdit.CheckableItem

java.lang.Object
  extended byorg.devaki.nextobjects.ui.workspace.models.objects.ConstraintEdit.CheckableItem
Enclosing class:
ConstraintEdit

class ConstraintEdit.CheckableItem
extends java.lang.Object

A checkable item

Author:
Emmanuel Florent

Constructor Summary
ConstraintEdit.CheckableItem(java.lang.String pStr)
          Constructor
 
Method Summary
 javax.swing.Icon getIcon()
          Get the icon
 boolean isSelected()
          Is selected
 void setIcon(javax.swing.Icon pIcon)
          Set the icon
 void setSelected(boolean b)
          Set selected
 java.lang.String toString()
          Return the description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstraintEdit.CheckableItem

public ConstraintEdit.CheckableItem(java.lang.String pStr)
Constructor

Parameters:
pStr - the name of the item
Method Detail

setSelected

public final void setSelected(boolean b)
Set selected

Parameters:
b - selected

isSelected

public final boolean isSelected()
Is selected

Returns:
selected

toString

public final java.lang.String toString()
Return the description

Returns:
description

setIcon

public final void setIcon(javax.swing.Icon pIcon)
Set the icon

Parameters:
pIcon - an icon

getIcon

public final javax.swing.Icon getIcon()
Get the icon

Returns:
the icon


Copyright © 2002-2004 devaki.org. All Rights Reserved.