183

Using special-purpose groups
Switch example code

  • Select a set of children of the switch group
    BitSet mask = new BitSet(3);
    mask.set( 0 );
    mask.set( 2 );
    
    mySwitch.setWhichChild( Switch.CHILD_MASK );
    mySwitch.setChildMask( mask );