Uses of Class
sc2002.FCS1.grp2.builders.DisplayMenu.Builder
Packages that use DisplayMenu.Builder
Package
Description
This package contains a small group of builder classes, to build visual patterns like formatted text, bars, menu or tables.
-
Uses of DisplayMenu.Builder in sc2002.FCS1.grp2.builders
Methods in sc2002.FCS1.grp2.builders that return DisplayMenu.BuilderModifier and TypeMethodDescriptionDisplayMenu.Builder.addCenteredContent(String content, int width) Add a row where contents in this row is centered, as long as width provided fits the menu/table well.DisplayMenu.Builder.addContent(String content) Add a row in the current section of this menu or table.DisplayMenu.Builder.addContents(List<String> contents) Add an entire section of this menu or table.DisplayMenu.Builder.addDivider()Finalise the current section by adding the divider.Set the title of this menu.Constructors in sc2002.FCS1.grp2.builders with parameters of type DisplayMenu.BuilderModifierConstructorDescriptionprivateDisplayMenu(DisplayMenu.Builder builder) Private constructor for builder class to use.