|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.AbstractIOObject
com.rapidminer.operator.ResultObjectAdapter
public abstract class ResultObjectAdapter
An adapter class for the interface ResultObject. Implements most
methods and can be used if the subclass does not need to extend other
classes. The method toResultString() delivers the return value of
Object.toString(). The visualization components for the graphical user
interface is simply the HTML representation of the result string.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rapidminer.operator.AbstractIOObject |
|---|
AbstractIOObject.InputStreamProvider |
| Constructor Summary | |
|---|---|
ResultObjectAdapter()
|
|
| Method Summary | |
|---|---|
protected void |
addAction(javax.swing.Action a)
Deprecated. Action concept for GUI components removed from result objects |
java.util.List<javax.swing.Action> |
getActions()
Deprecated. Action concept for GUI components removed from result objects |
Annotations |
getAnnotations()
|
java.lang.String |
getName()
The default implementation returns the classname without package. |
javax.swing.Icon |
getResultIcon()
Returns the icon registered for this class on the RendererService. |
void |
log(java.lang.String message)
Logs a status message. |
void |
log(java.lang.String message,
int level)
Logs a message with the given log level. |
void |
logError(java.lang.String message)
Logs an error message. |
void |
logNote(java.lang.String message)
Logs a note message. |
void |
logWarning(java.lang.String message)
Logs a warning message. |
static java.lang.String |
toHTML(java.lang.String string)
Encodes the given String as HTML. |
java.lang.String |
toResultString()
The default implementation simply returns the result of the method Object.toString(). |
| Methods inherited from class com.rapidminer.operator.AbstractIOObject |
|---|
appendOperatorToHistory, copy, getLog, getProcessingHistory, getSource, initWriting, read, read, read, read, setLoggingHandler, setSource, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.rapidminer.operator.IOObject |
|---|
appendOperatorToHistory, copy, getLog, getProcessingHistory, getSource, setLoggingHandler, setSource, write |
| Constructor Detail |
|---|
public ResultObjectAdapter()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface ResultObject@Deprecated protected void addAction(javax.swing.Action a)
@Deprecated public java.util.List<javax.swing.Action> getActions()
getActions in interface ResultObjectpublic java.lang.String toResultString()
Object.toString().
toResultString in interface ResultObjectpublic javax.swing.Icon getResultIcon()
RendererService.
This method can be replaced by RendererService.getIcon(Class) if no instanciated object
of this class is available.
getResultIcon in interface ResultObjectpublic static java.lang.String toHTML(java.lang.String string)
public void log(java.lang.String message,
int level)
LoggingHandler
log in interface LoggingHandlerpublic void log(java.lang.String message)
LoggingHandler
log in interface LoggingHandlerpublic void logNote(java.lang.String message)
LoggingHandler
logNote in interface LoggingHandlerpublic void logWarning(java.lang.String message)
LoggingHandler
logWarning in interface LoggingHandlerpublic void logError(java.lang.String message)
LoggingHandler
logError in interface LoggingHandlerpublic Annotations getAnnotations()
getAnnotations in interface IOObject
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||