java.lang.Object
it.tidalwave.ui.core.role.spi.SimpleCompositePresentable
- All Implemented Interfaces:
Presentable
An implementation of
Presentable for datum instances having the SimpleComposite role.- Since:
- 2.0-ALPHA-1
- Author:
- Fabrizio Giudici
- Stereotype:
- Role
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface it.tidalwave.ui.core.role.Presentable
_Presentable_ -
Constructor Summary
ConstructorsConstructorDescriptionSimpleCompositePresentable(it.tidalwave.util.As datum) SimpleCompositePresentable(it.tidalwave.util.As datum, PresentationModelFactory defaultPresentationModelFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreatePresentationModel(Collection<Object> roles) Creates aPresentationModelwith some roles.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.tidalwave.ui.core.role.Presentable
createPresentationModel, createPresentationModel
-
Constructor Details
-
SimpleCompositePresentable
public SimpleCompositePresentable(@Nonnull it.tidalwave.util.As datum) - Parameters:
datum- the owner
-
SimpleCompositePresentable
public SimpleCompositePresentable(@Nonnull it.tidalwave.util.As datum, @Nonnull PresentationModelFactory defaultPresentationModelFactory) - Parameters:
datum- the ownerdefaultPresentationModelFactory- thePresentationModelFactory
-
-
Method Details
-
createPresentationModel
Creates aPresentationModelwith some roles.- Specified by:
createPresentationModelin interfacePresentable- Parameters:
roles- the roles- Returns:
- the
PresentationModel
-