com.rolemodelsoft.drawlet
Interface ComponentHolder
- All Known Implementing Classes:
- SimpleDrawingCanvas
- public interface ComponentHolder
|
Method Summary |
java.awt.Component |
getComponent()
Answers the held component. |
void |
setComponent(java.awt.Component component)
Associates the given component with the receiver. |
getComponent
public java.awt.Component getComponent()
- Answers the held component.
- Returns:
- the Component associated with this holder
setComponent
public void setComponent(java.awt.Component component)
- Associates the given component with the receiver.
- Parameters:
component - the component to associate with this holder