protected class KnowledgeFlowApp.JTreeLeafDetails
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
m_fullyQualifiedCompName
fully qualified bean name
|
protected boolean |
m_isMeta
true if this is a MetaBean (user component)
|
protected java.lang.String |
m_leafLabel
the label (usually derived from the qualified name or wrapped algorithm)
for the leaf
|
protected java.util.Vector<java.lang.Object> |
m_metaBean
XML serialized MetaBean (if this is a user component)
|
protected javax.swing.Icon |
m_scaledIcon
icon to display at the leaf (scaled appropriately)
|
protected java.lang.String |
m_toolTipText
tool tip text to display
|
protected java.lang.String |
m_wekaAlgoName
the fully qualified wrapped weka algorithm name
|
| Modifier | Constructor and Description |
|---|---|
protected |
JTreeLeafDetails(java.lang.String fullName,
javax.swing.Icon icon)
Constructor.
|
protected |
JTreeLeafDetails(java.lang.String fullName,
java.lang.String wekaAlgoName,
javax.swing.Icon icon)
Constructor
|
protected |
JTreeLeafDetails(java.lang.String name,
java.util.Vector<java.lang.Object> serializedMeta,
javax.swing.Icon icon)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.swing.Icon |
getIcon()
Gets the icon for this bean
|
protected java.util.Vector<java.lang.Object> |
getMetaBean()
Gets the XML serialized MetaBean and associated information (icon,
displayname)
|
protected java.lang.String |
getToolTipText()
Get the tool tip for this leaf
|
protected void |
instantiateBean()
"Instantiates" the bean represented by this leaf.
|
protected boolean |
isMetaBean()
Returns true if this leaf represents a MetaBean (i.e.
|
protected boolean |
isWrappedAlgorithm()
Returns true if this leaf represents a wrapped Weka algorithm (i.e.
|
protected void |
setIcon(javax.swing.Icon icon)
Set the icon to use for this bean
|
protected void |
setToolTipText(java.lang.String tipText) |
java.lang.String |
toString()
Returns the leaf label
|
protected java.lang.String m_fullyQualifiedCompName
protected java.lang.String m_leafLabel
protected java.lang.String m_wekaAlgoName
protected transient javax.swing.Icon m_scaledIcon
protected java.util.Vector<java.lang.Object> m_metaBean
protected boolean m_isMeta
protected java.lang.String m_toolTipText
protected JTreeLeafDetails(java.lang.String fullName,
javax.swing.Icon icon)
fullName - flully qualified name of the beanicon - icon for the beanprotected JTreeLeafDetails(java.lang.String name,
java.util.Vector<java.lang.Object> serializedMeta,
javax.swing.Icon icon)
name - fully qualified name of the beanserializedMeta - empty string or XML serialized MetaBean if this
leaf represents a "user" componenticon - icon for the beanprotected JTreeLeafDetails(java.lang.String fullName,
java.lang.String wekaAlgoName,
javax.swing.Icon icon)
fullName - fully qualified name of the beanwekaAlgoName - fully qualified name of the encapsulated (wrapped)
weka algorithm, or null if this bean does not wrap a Weka
algorithmicon - icon for the beanprotected java.lang.String getToolTipText()
protected void setToolTipText(java.lang.String tipText)
public java.lang.String toString()
toString in class java.lang.Objectprotected javax.swing.Icon getIcon()
protected void setIcon(javax.swing.Icon icon)
icon - the icon to useprotected boolean isWrappedAlgorithm()
protected boolean isMetaBean()
protected java.util.Vector<java.lang.Object> getMetaBean()
protected void instantiateBean()