179

Using special-purpose groups
Switch class methods

  • In addition to Group's methods, Switch enables child rendering control
  • Method
    Switch( )
    void setWhichChild( int index )
    void setChildMask( BitSet mask )

  • Remember to use . . .
    setCapability( Switch.ALLOW_SWITCH_WRITE );
    . . . to enable the switch value to be changed while it is live or compiled