|
TreeMap Java Library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreemap.TMComputeDrawAdapter
public abstract class TMComputeDrawAdapter
The TMComputeDrawAdapter class implements a adapter for the TMComputeDraw interface for users of the TMModelNode interface.
Constructor Summary | |
---|---|
TMComputeDrawAdapter()
|
Method Summary | |
---|---|
abstract java.awt.Paint |
getColorTitleOfObject(java.lang.Object node)
TO BE IMPLEMENTED. |
java.awt.Paint |
getFilling(TMNodeAdapter nodeAdapter)
DO NOT OVERLOAD. |
abstract java.awt.Paint |
getFillingOfObject(java.lang.Object node)
TO BE IMPLEMENTED. |
java.lang.String |
getTitle(TMNodeAdapter nodeAdapter)
DO NOT OVERLOAD. |
java.awt.Paint |
getTitleColor(TMNodeAdapter nodeAdapter)
DO NOT OVERLOAD. |
abstract java.lang.String |
getTitleOfObject(java.lang.Object node)
TO BE IMPLEMENTED. |
java.lang.String |
getTooltip(TMNodeAdapter nodeAdapter)
DO NOT OVERLOAD. |
abstract java.lang.String |
getTooltipOfObject(java.lang.Object node)
TO BE IMPLEMENTED. |
boolean |
isCompatibleWith(TMNode node)
DO NOT OVERLOAD. |
abstract boolean |
isCompatibleWithObject(java.lang.Object node)
TO BE IMPLEMENTED. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TMComputeDrawAdapter()
Method Detail |
---|
public final boolean isCompatibleWith(TMNode node)
isCompatibleWith
in interface TMComputeDraw
node
- the TMNode to test the compatibility with
true
if this kind of node is compatible;
false
otherwisepublic final java.awt.Paint getFilling(TMNodeAdapter nodeAdapter) throws TMExceptionBadTMNodeKind
getFilling
in interface TMComputeDraw
nodeAdapter
- the node which we will draw
TMExceptionBadTMNodeKind
- If the kind of TMNode returned is
incompatible with this TMComputeDraw.public final java.lang.String getTooltip(TMNodeAdapter nodeAdapter) throws TMExceptionBadTMNodeKind
getTooltip
in interface TMComputeDraw
nodeAdapter
- the node for which we want the tooltip
TMExceptionBadTMNodeKind
- If the kind of TMNode returned is
incompatible with this TMComputeDraw.public final java.lang.String getTitle(TMNodeAdapter nodeAdapter) throws TMExceptionBadTMNodeKind
getTitle
in interface TMComputeDraw
nodeAdapter
- the node for which we want the title
TMExceptionBadTMNodeKind
- if the kind of TMNode returned is
incompatible with this TMComputeDraw.public final java.awt.Paint getTitleColor(TMNodeAdapter nodeAdapter) throws TMExceptionBadTMNodeKind
getTitleColor
in interface TMComputeDraw
nodeAdapter
- the node for which we want the title
TMExceptionBadTMNodeKind
- if the kind of TMNode returned is
incompatible with this TMComputeDraw.public abstract boolean isCompatibleWithObject(java.lang.Object node)
public abstract java.awt.Paint getFillingOfObject(java.lang.Object node)
public abstract java.lang.String getTooltipOfObject(java.lang.Object node)
public abstract java.lang.String getTitleOfObject(java.lang.Object node)
public abstract java.awt.Paint getColorTitleOfObject(java.lang.Object node)
|
TreeMap Java Library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |