public abstract class CompoundControl
extends Control
A CompoundControl
, such as a graphic equalizer, provides control over
two or more related properties, each of which is itself represented as a
Control
.
Since:
1.3
Nested Class Summary
Nested Classes
static class
An instance of the CompoundControl.Type
inner class identifies
one kind of compound control.
Constructor Summary
Constructors
protected
Constructs a new compound control object with the given parameters.
Method Summary
All Methods Instance Methods Concrete Methods
Returns the set of member controls that comprise the compound control.
Returns a string representation of the compound control.
Constructor Details
CompoundControl
Constructs a new compound control object with the given parameters.
Parameters:
type
- the type of control represented this compound control object
memberControls
- the set of member controls
Method Details
getMemberControls
public Control [] getMemberControls ()
Returns the set of member controls that comprise the compound control.
Returns:
the set of member controls
toString
Returns a string representation of the compound control.
Overrides:
toString
in class Control
Returns:
a string representation of the compound control
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .