Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.javatools.ui
Class HeaderGroup

java.lang.Object
  extended by oracle.javatools.ui.HeaderGroup

public final class HeaderGroup
extends java.lang.Object

A HeaderGroup co-ordinates the display of components under a Header, hiding and showing them as required as the header is toggled.

The intent here is that, rather than adding the components under a header to a JPanel or other container, you associate them with a HeaderGroup instead (in much the same way that ButtonGroup works for toggle buttons). This gives you the freedom to have a single layout across all collapsable regions.

Since:
11.0

Constructor Summary
HeaderGroup(Header header)
          Creates a HeaderGroup for the specified header component.
 
Method Summary
 void add(java.awt.Component c)
          Adds a component to this header group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderGroup

public HeaderGroup(Header header)
Creates a HeaderGroup for the specified header component.

Parameters:
header - a header component. Must not be null.
Method Detail

add

public void add(java.awt.Component c)
Adds a component to this header group. The component will be hidden immediately if the Header is collapsed.

Parameters:
c -

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.