|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cmc.tcgui.datadef.TCEntry
cz.cmc.tcgui.datadef.TCObject
cz.cmc.tcgui.datadef.TCQdisc
Class representing Qdisc and its specific properties, including alowed sub TCClasses.
| Field Summary | |
static Exporter |
DEFAULT_EXPORTER
Default QDisc exporter |
static Generator |
DEFAULT_GENERATOR
Default QDisc generator |
| Fields inherited from class cz.cmc.tcgui.datadef.TCObject |
attributeEntry, DEFAULT_CHECKER, editor, exporter, generator, checker |
| Fields inherited from class cz.cmc.tcgui.datadef.TCEntry |
description, id, label, name |
| Constructor Summary | |
TCQdisc(String id,
String name,
String label)
Creates new TCQdisct with given id, name and label |
|
| Method Summary | |
void |
addClass(TCClass newClass)
Adds TCClass to the list of allowed subclasses of this Qdisc. |
TCClass |
getClass(int pos)
Returns one TCClass from list of all alowed subclasses. |
Vector |
getClasses()
Returns Vector containing all TCClasses which are allowed to be a subclass of this Qdisc. |
boolean |
isClassless()
Returns true if this Qdisc is classless, false if classfull. |
void |
removeClass(TCClass oldClass)
Removes TCClass from the list of allowed subclasses of this Qdisc. |
| Methods inherited from class cz.cmc.tcgui.datadef.TCObject |
getAttributeEntry, getEditor, getExporter, getGenerator, getChecker, setAttributeEntry, setEditor, setExporter, setGenerator, setChecker |
| Methods inherited from class cz.cmc.tcgui.datadef.TCEntry |
clone, getDescription, getID, getLabel, getName, setDescription, setID, setLabel, setName, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Generator DEFAULT_GENERATOR
public static final Exporter DEFAULT_EXPORTER
| Constructor Detail |
public TCQdisc(String id,
String name,
String label)
id - id of the TCQdiscname - name of the TCQdisclabel - human-readable label of the TCQdisc| Method Detail |
public boolean isClassless()
public void addClass(TCClass newClass)
newClass - instance of TCClass which should be added to allowed
subclassespublic void removeClass(TCClass oldClass)
oldClass - instance of TCClass which should be removed from allowed
subclassespublic Vector getClasses()
public TCClass getClass(int pos)
throws ArrayIndexOutOfBoundsException
pos - position of the class to return
ArrayIndexOutOfBoundsException - if pos is negative or
not less then the number of subclasses in the list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||