org.dllearner.tools.protege
Class SuggestListItem

java.lang.Object
  extended by org.dllearner.tools.protege.SuggestListItem

public class SuggestListItem
extends Object

This Class represents an entry of the suggest list.

Author:
Christian Koetteritzsch

Constructor Summary
SuggestListItem(Color c, String s, double acc)
          Constructor for the SuggestListItem.
 
Method Summary
 double getAccuracy()
          This method returns the accuracy of the current list item.
 Color getColor()
          This method returns the color of the current list item.
 String getValue()
          This Method returns the text of the current list item.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuggestListItem

public SuggestListItem(Color c,
                       String s,
                       double acc)
Constructor for the SuggestListItem.

Parameters:
c - Color Color in which the text is painted.
s - String text that is shown.
acc - Accuracy of the concept
Method Detail

getColor

public Color getColor()
This method returns the color of the current list item.

Returns:
Color Color of the current list item

getValue

public String getValue()
This Method returns the text of the current list item.

Returns:
String Text of the current list item

getAccuracy

public double getAccuracy()
This method returns the accuracy of the current list item.

Returns:
accuracy


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann