Interface Presentable
-
- All Implemented Interfaces:
public interface Presentable<T extends Presentation<?>>Represents a component that can be presented on the screen.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumPresentable.StateRepresents the current visibility & activeness of the presentable.
-
Method Summary
Modifier and Type Method Description abstract Unitshow()Shows the presentable on the screen. abstract Unithide()Hides the presentable from the screen. abstract Unitdismiss()Dismisses the presentable from the screen. abstract Presentable.StategetState()Returns the current State of the presentable. abstract TgetPresentation()Returns the presentation associated with the presentable. -
-
Method Detail
-
hide
abstract Unit hide()
Hides the presentable from the screen. Contents of the presentable can be restored by calling show after this operation.
-
dismiss
abstract Unit dismiss()
Dismisses the presentable from the screen. Contents of the presentable are not retained after this operation.
-
getState
abstract Presentable.State getState()
Returns the current State of the presentable.
-
getPresentation
abstract T getPresentation()
Returns the presentation associated with the presentable.
- Returns:
the Presentation associated with the presentable
-
-
-
-