|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--tauzaman.property.PropertyStackService
PropertyStackService class implements data structures to store properties
and provides service to PropertyManager.
PropertyManager| Constructor Summary | |
PropertyStackService()
Constructs a PropertyStackService object, which provides
stack operations for Property. |
|
| Method Summary | |
void |
initStackMap()
Initialize the hash table. |
Property |
peek(java.lang.String propertyName)
Gets and returns the top element ( Property) of the stack (without removing it).
|
java.util.Enumeration |
peekAll(java.lang.String propertyName)
Returns all elements of a given stack |
void |
pop()
Pops all active Propertyies from their stacks, except
default ones, which are the last elements in stacks.Does not
deactivates default Property. |
void |
pop(java.lang.String propertyName)
Pops the corresponding active Property from its stack. |
void |
popToLast()
Pop all elements from their stack until the last elements, which are the default properties. |
void |
popToLast(java.lang.String propertyName)
Pops all elements from given property stack until the last elements, which are the default properties. |
void |
push(Property property)
Pushes a Property to its stack. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyStackService()
PropertyStackService object, which provides
stack operations for Property.
| Method Detail |
public void initStackMap()
public void push(Property property)
Property to its stack.
property - a Propertypublic void pop(java.lang.String propertyName)
Property from its stack. Does not
deactivates default Property.
propertyName - name of a Propertypublic void pop()
Propertyies from their stacks, except
default ones, which are the last elements in stacks.Does not
deactivates default Property.
public void popToLast(java.lang.String propertyName)
propertyName - name of a Propertypublic void popToLast()
public Property peek(java.lang.String propertyName)
Property) of the stack (without removing it).
If there is no Property, it returns null.
propertyName - name of a Property
Propertypublic java.util.Enumeration peekAll(java.lang.String propertyName)
propertyName - name of a Property
|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||