Interface izSwing

All Known Implementing Classes:
zAppMenu, zExitDialog, zFrame, zImagePanel, zLoadDialog, zUIDockable

public interface izSwing
Interface for all the UI component handlers using cookswing giving them acccess to a shared cookswing handler and the zodiac app.
Author:
Kevin Moore <dev@kevin.moore.name>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static cookxml.cookswing.CookSwing
    All the implementers share the same cookswing object.
    static iZodiacApp[]
    Using an array get round the field being final.
  • Method Summary

    Modifier and Type
    Method
    Description
    default iZodiacApp
    Implementers of the interface can use this shortcut to get the zodiac application.
    default void
     
    static void
    Call once to ensure all zSwing have access to the zodiac application.
  • Field Details

    • zapp

      static final iZodiacApp[] zapp
      Using an array get round the field being final.
    • cookSwing

      static final cookxml.cookswing.CookSwing cookSwing
      All the implementers share the same cookswing object.
  • Method Details

    • setZodiacApp

      static void setZodiacApp(iZodiacApp z)
      Call once to ensure all zSwing have access to the zodiac application. Being static means all objects share the same app.
      Parameters:
      z -
    • getZodiacApp

      default iZodiacApp getZodiacApp()
      Implementers of the interface can use this shortcut to get the zodiac application.
      Returns:
    • setVarLookup

      default void setVarLookup(izSwing obj)