Class Gui.Collection

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
Gui

public abstract class Gui.Collection extends JPanel
Contains all widgets for all arguments in one(1) of many repeting groups. Realizes the transfer between model and gui, and carries a frame with a numbering as a title.
See Also:
  • Field Details

    • pos

      protected int pos
      The number of this collection relative to all other collections. (Do not confuse with the "index" among its Swing siblings. This is (1+2*pos).
  • Constructor Details

    • Collection

      public Collection()
      Evident
  • Method Details

    • setPos

      public void setPos(int pos)
      Set the position number and show it in the graphics.
    • populate

      protected abstract void populate()
      Callback function overriden by generated code: creates input widgets according to types of repeting group.
    • model2view

      public abstract void model2view(Object o)
      Callback function overriden by generated code: copy values from model to view. Like "populate()" one level above: does not yet fill in values!
    • view2model

      public abstract void view2model(Object o)
      Callback function overriden by generated code: copy values from view to model