renderable
Interface CommentSource

All Known Implementing Classes:
FactoryRenderableBlock, RenderableBlock

public interface CommentSource

CommentSource interface that must be implemented by a class if a comment is to be linked to it.


Method Summary
 java.awt.Component add(java.awt.Component commentLabel)
          add commentLabel to the commentSource
 java.lang.Long getBlockID()
           
 java.awt.Point getCommentLocation()
          returns where the CommentArrow should draw from
 java.awt.Container getParent()
          returns the parent of the commentSource
 WorkspaceWidget getParentWidget()
          Returns the parent WorkspaceWidget containing this
 

Method Detail

getParent

java.awt.Container getParent()
returns the parent of the commentSource

Returns:

getParentWidget

WorkspaceWidget getParentWidget()
Returns the parent WorkspaceWidget containing this

Returns:
the parent WorkspaceWidget containing this

getCommentLocation

java.awt.Point getCommentLocation()
returns where the CommentArrow should draw from

Returns:

add

java.awt.Component add(java.awt.Component commentLabel)
add commentLabel to the commentSource

Parameters:
commentLabel -

getBlockID

java.lang.Long getBlockID()