SwingDeck extends AbstractSwingContainer implements XulDeck { public int getSelectedIndex() { return selectedChildIndex; } SwingDeck( Element self, XulComponent parent, XulDomContainer container, String tagName );  SwingDeck( XulComponent parent, String tagName, Orient orient ); @Override void addChild( Element ele ); int getSelectedIndex(); void setSelectedIndex( int index ); void layout();  }
@Test public void testGetSelectedIndex() throws Exception { assertEquals( deck.getSelectedIndex(), 0 ); }