workspace
Interface RBParent

All Known Implementing Classes:
FactoryCanvas, PageJComponent, Workspace

public interface RBParent

RBParents have methods for adding any Component to either the BlockLayer or HighlightLayer. The HighlightLayer must be rendered behind the BlockLayer such that all Components on the HighlightLayer are rendered behind ALL Components on the BlockLayer.


Method Summary
 void addToBlockLayer(java.awt.Component c)
          Add this Component the BlockLayer, which is understood to be above the HighlightLayer, although no guarantee is made about its order relative to any other layers this RBParent may have.
 void addToHighlightLayer(java.awt.Component c)
          Add this Component to the HighlightLayer, which is understood to be directly and completely beneath the BlockLayer, such that all Components on the HighlightLayer are rendered behind ALL Components on the BlockLayer.
 

Method Detail

addToBlockLayer

void addToBlockLayer(java.awt.Component c)
Add this Component the BlockLayer, which is understood to be above the HighlightLayer, although no guarantee is made about its order relative to any other layers this RBParent may have.

Parameters:
c - the Component to add

addToHighlightLayer

void addToHighlightLayer(java.awt.Component c)
Add this Component to the HighlightLayer, which is understood to be directly and completely beneath the BlockLayer, such that all Components on the HighlightLayer are rendered behind ALL Components on the BlockLayer.

Parameters:
c - the Component to add