-
- All Known Implementing Classes:
SwingViewBuilder
public interface ViewBuilderRepresents a view builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JMenuBarbuildCompleteMenuBar()JToolBarbuildCompleteToolBar(boolean embeddableComponent)Builds and return the complete tool barvoidbuildContents(Container cp, boolean embeddableComponent)Builds the contentsJFramebuildViewerFrame()
-
-
-
Method Detail
-
buildViewerFrame
JFrame buildViewerFrame()
- Returns:
- The built viewer frame
-
buildCompleteMenuBar
JMenuBar buildCompleteMenuBar()
- Returns:
- The built menu bar
-
buildCompleteToolBar
JToolBar buildCompleteToolBar(boolean embeddableComponent)
Builds and return the complete tool bar- Parameters:
embeddableComponent- Whether the component will be embedded or not- Returns:
- the tool bar
-
buildContents
void buildContents(Container cp, boolean embeddableComponent)
Builds the contents- Parameters:
cp- The container in which the contents will be putembeddableComponent- Whether the component will be embedded or not
-
-