1 DocSetupTypeComponent
werwolf2303 edited this page 2023-08-23 18:48:39 +02:00

SetupTypeComponent

Displays a setup type selection (Typical or and Custom or and Complete)


Example

SetupTypeComponent type = new SetupTypeComponent(); //Create a SetupTypeComponent instance
type.showComplete(); //Shows the complete checkbox

Available methods

Public

  • getName() -> Returns "SetupTypeComponent"
  • showComplete() -> Shows the complete checkbox
  • showTypical() -> Shows the typical checkbox
  • showCustom() -> Shows the custom checkbox
  • buildCustom(Component...: component) -> Adds the components specified for the custom checkbox
  • buildTypical(Component...: component) -> Adds the components specified for the typical checkbox
  • buildComplete(Component...: component) -> -> Adds the components specified for the complete checkbox

Private

  • drawable() -> Returns the internal JPanel
  • init() -> Used inside Setup class
  • nowVisible() -> Used inside Setup class
  • onLeave() -> Used inside Setup class
  • giveComponents(...) -> Used inside Setup class