Class ComponentProjection<C extends JComponent, M extends ComponentContentModel>
java.lang.Object
org.pushingpixels.radiance.component.api.common.projection.BlackboxProjection<M, ComponentPresentationModel>
org.pushingpixels.radiance.component.api.common.projection.BaseProjection<C, M, ComponentPresentationModel>
org.pushingpixels.radiance.component.api.common.projection.Projection<C, M, ComponentPresentationModel>
org.pushingpixels.radiance.component.api.ribbon.synapse.projection.ComponentProjection<C,M>
- Type Parameters:
C- Class of the Swing component that is the result of this projection.M- Class of the content model.
- Direct Known Subclasses:
RibbonCheckBoxProjection, RibbonComboBoxProjection, RibbonRadioButtonProjection, RibbonSpinnerProjection
public abstract class ComponentProjection<C extends JComponent, M extends ComponentContentModel>
extends Projection<C, M, ComponentPresentationModel>
Base class for projections that create non-Radiance components, such as
JCheckBox from
RibbonCheckBoxProjection.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Projection
Projection.ComponentSupplier<TC,CC, PC> -
Constructor Summary
ConstructorsConstructorDescriptionComponentProjection(M contentModel, ComponentPresentationModel presentationModel, Projection.ComponentSupplier<C, M, ComponentPresentationModel> componentSupplier) -
Method Summary
Methods inherited from class Projection
buildBaseComponent, getComponentSupplier, setComponentSupplierMethods inherited from class BaseProjection
buildComponent, configureComponentMethods inherited from class BlackboxProjection
getCommandOverlays, getContentModel, getPresentationModel, setCommandOverlays
-
Constructor Details
-
ComponentProjection
public ComponentProjection(M contentModel, ComponentPresentationModel presentationModel, Projection.ComponentSupplier<C, M, ComponentPresentationModel> componentSupplier)
-