-
- All Known Implementing Classes:
AbstractBasePane,AbstractBasePane.ContentHolder,AbstractBorder,AbstractComposite,AbstractWindow,ActionListDialog,BasicWindow,Borders.DoubleLine,Borders.SingleLine,Borders.StandardBorder,ComboBox.PopupWindow,DialogWindow,DirectoryDialog,FileDialog,ListSelectDialog,MenuPopupWindow,MessageDialog,TextInputDialog,WaitingDialog
public interface CompositeA Composite is a Container that contains only one (or zero) component. Normally it is a kind of decorator, like a border, that wraps a single component for visualization purposes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentgetComponent()Returns the component that this Composite is wrappingvoidsetComponent(Component component)Sets the component which is inside this Composite.
-
-
-
Method Detail
-
getComponent
Component getComponent()
Returns the component that this Composite is wrapping- Returns:
- Component the composite is wrapping
-
setComponent
void setComponent(Component component)
Sets the component which is inside this Composite. If you call this method with null, it removes the component wrapped by this Composite.- Parameters:
component- Component to wrap
-
-