|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.String,VAttribute>
nl.uva.vlet.util.VAttributeSet
nl.uva.vlet.util.VAttributeGroup
public class VAttributeGroup
An attribute group extends an attribute set by being able to have several attribute 'groups' as childs. An attribute group with no child groups is equal to an attribute set. The VAttributeGroup class is ment to hierarchically structure VAttributeSets.
Field Summary | |
---|---|
protected java.util.Vector<VAttributeGroup> |
groups
child groups |
protected VAttributeGroup |
parent
parent group, if contained in another VAttributeGroup |
Constructor Summary | |
---|---|
VAttributeGroup(java.lang.String name)
|
|
VAttributeGroup(VAttributeSet attrSet)
Create group from set |
Method Summary | |
---|---|
void |
addGroup(VAttributeGroup group)
Add specified group to the child groups |
void |
addGroup(VAttributeSet attrSet)
|
VAttributeGroup |
getGroup(java.lang.String name)
Get group by name |
java.lang.String[] |
getGroupNames()
Return names of groups |
java.util.Vector<VAttributeGroup> |
getGroups()
return actual (non-copy) vector which contains child groups |
void |
setAttributes(VAttributeSet attrs)
Set attribute to the specified ones |
Methods inherited from class nl.uva.vlet.util.VAttributeSet |
---|
add, duplicate, getAttributeNames, getBooleanValue, getIntValue, getIntValue, getName, getValue, load, readFrom, set, set, set, set, setName, store, toArray, toString, toVector |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector<VAttributeGroup> groups
protected VAttributeGroup parent
Constructor Detail |
---|
public VAttributeGroup(java.lang.String name)
public VAttributeGroup(VAttributeSet attrSet)
Method Detail |
---|
public void addGroup(VAttributeGroup group)
public java.util.Vector<VAttributeGroup> getGroups()
public VAttributeGroup getGroup(java.lang.String name)
public java.lang.String[] getGroupNames()
public void addGroup(VAttributeSet attrSet)
public void setAttributes(VAttributeSet attrs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |