Class Projection<T extends javax.swing.JComponent,C extends ContentModel,P extends PresentationModel>
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.common.projection.BlackboxProjection<C,P>
-
- org.pushingpixels.radiance.component.api.common.projection.BaseProjection<T,C,P>
-
- org.pushingpixels.radiance.component.api.common.projection.Projection<T,C,P>
-
- Direct Known Subclasses:
AbstractPopupMenuPanelProjection,CircularProgressProjection,CommandPanelProjection,CommandStripProjection,ComponentProjection,LabelProjection,SwitchProjection,TriStateCheckBoxProjection
public abstract class Projection<T extends javax.swing.JComponent,C extends ContentModel,P extends PresentationModel> extends BaseProjection<T,C,P>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProjection.ComponentSupplier<TC extends javax.swing.JComponent,CC extends ContentModel,PC extends PresentationModel>This interface can be used as part ofsetComponentSupplier(ComponentSupplier)to return your own supplier ofProjection.ComponentSupplierto be used before theBaseProjection.configureComponent(JComponent)call.
-
Constructor Summary
Constructors Modifier Constructor Description protectedProjection(C contentModel, P presentationModel, Projection.ComponentSupplier<T,C,P> componentSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TbuildBaseComponent()Projection.ComponentSupplier<T,C,P>getComponentSupplier()voidsetComponentSupplier(Projection.ComponentSupplier<T,C,P> componentSupplier)-
Methods inherited from class org.pushingpixels.radiance.component.api.common.projection.BaseProjection
buildComponent, configureComponent
-
Methods inherited from class org.pushingpixels.radiance.component.api.common.projection.BlackboxProjection
getCommandOverlays, getContentModel, getPresentationModel, setCommandOverlays
-
-
-
-
Method Detail
-
setComponentSupplier
public void setComponentSupplier(Projection.ComponentSupplier<T,C,P> componentSupplier)
-
getComponentSupplier
public final Projection.ComponentSupplier<T,C,P> getComponentSupplier()
-
buildBaseComponent
public final T buildBaseComponent()
- Specified by:
buildBaseComponentin classBaseProjection<T extends javax.swing.JComponent,C extends ContentModel,P extends PresentationModel>
-
-