public class ControlGroup extends Object
Constructor and Description |
---|
ControlGroup() |
Modifier and Type | Method and Description |
---|---|
Control |
add(Control c,
int asTag)
Add the specified Control to this ControlGroup and then
set this ControlGroup as a Tag on the Control using the
specified asTag ID.
|
Control |
addExposeGroup(Control c)
Add the specified Control to this ControlGroup and then
set this ControlGroup as a TAG_EXPOSE_GROUP Tag on the Control using the
specified asTag ID.
|
Control |
get(int index) |
static ControlGroup |
getExposeGroupFor(Control c)
Get the ControlGroup for the Control which is tagged as TAG_EXPOSE_GROUP.
|
static ControlGroup |
getGroupFor(Control c,
int asTag)
Get the ControlGroup for the Control which is tagged with
the specified Tag ID.
|
Rect |
getRectInParent(Control parent,
Rect dest) |
ControlIterator |
iterator(ControlIterator dest) |
int |
size() |
public Control addExposeGroup(Control c)
c
- the Control to add to this ControlGroup and be tagged.public Control add(Control c, int asTag)
c
- the Control to add to this ControlGroup and be tagged.asTag
- the tag ID.public ControlIterator iterator(ControlIterator dest)
public int size()
public Control get(int index)
public static ControlGroup getExposeGroupFor(Control c)
c
- the Control to search for the tag in.asTag
- the Tag ID.public static ControlGroup getGroupFor(Control c, int asTag)
c
- the Control to search for the tag in.asTag
- the Tag ID.