org.neuroph.util.plugins
Class LabelsPlugin

java.lang.Object
  extended by org.neuroph.util.plugins.PluginBase
      extended by org.neuroph.util.plugins.LabelsPlugin
All Implemented Interfaces:
java.io.Serializable

public class LabelsPlugin
extends PluginBase

Provides labeling of all neural network components

Author:
Zoran Sevarac
See Also:
Serialized Form

Field Summary
static java.lang.String LABELS_PLUGIN_NAME
           
 
Constructor Summary
LabelsPlugin()
           
 
Method Summary
 java.lang.String getLabel(java.lang.Object object)
          Returns label for the specified object
 void setLabel(java.lang.Object object, java.lang.String label)
          Sets label for the specified object
 
Methods inherited from class org.neuroph.util.plugins.PluginBase
getName, getParentNetwork, setParentNetwork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABELS_PLUGIN_NAME

public static final java.lang.String LABELS_PLUGIN_NAME
See Also:
Constant Field Values
Constructor Detail

LabelsPlugin

public LabelsPlugin()
Method Detail

getLabel

public java.lang.String getLabel(java.lang.Object object)
Returns label for the specified object

Parameters:
object - object for which label should be returned
Returns:
label for the specified object

setLabel

public void setLabel(java.lang.Object object,
                     java.lang.String label)
Sets label for the specified object

Parameters:
object - object to set label
label - label to set