public interface AWTPresenter extends Presenter
Presenter
that uses a Component
to render
its presentation data. Implementations are not restricted to the
limitations of the AWT toolkit and may use Swing as well since there
is no special Presenter
interface that explicitly enforces
the use of Swing components.Modifier and Type | Interface and Description |
---|---|
static interface |
AWTPresenter.ChartBasedPresenter |
static interface |
AWTPresenter.GraphBasedPresenter |
static interface |
AWTPresenter.ListBasedPresenter |
static interface |
AWTPresenter.TableBasedPresenter |
static interface |
AWTPresenter.TextBasedPresenter |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getPresentingComponent()
Returns the
Component this presenter is using to render
its data. |
clear, close, getPresentedData, isPresenting, present, supports
java.awt.Component getPresentingComponent()
Component
this presenter is using to render
its data. This method should never return null
regardless
of valid presentation data being set or not. This state is rather
to be displayed by the visual content
of the returned component.