|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
fi.hut.tml.xsmiles.dom.XSmilesElementImpl
fi.hut.tml.xsmiles.mlfc.timesheet.TimedElementImpl
fi.hut.tml.xsmiles.mlfc.timesheet.ItemImpl
Implements the item element of the timesheet. Item element can control one or many document elements.
| Nested Class Summary |
| Nested classes inherited from class fi.hut.tml.xsmiles.mlfc.timesheet.TimedElementImpl |
TimedElementImpl.Schedule |
| Nested classes inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl |
XSmilesElementImpl.PseudoNodeList |
| Field Summary |
| Fields inherited from class fi.hut.tml.xsmiles.mlfc.timesheet.TimedElementImpl |
active, beginSchedule, childItems, currentTick, elementStarted, endSchedule, eventListener, eventTable, INFINITY, parent, paused, repeatCount, SELECT_FIRST, SELECT_LAST, SELECT_NEXT, SELECT_PREV, START_EVENT, START_SCHEDULED, STOP |
| Fields inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl |
DESTROYED, elementStatus, INITIALIZED, INITIALIZING, setPseudoClasses, style, UNINITIALIZED, xblpropname |
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
| Fields inherited from class org.apache.xerces.dom.NodeImpl |
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, UNNORMALIZED |
| Fields inherited from interface fi.hut.tml.xsmiles.timesheet.TimedElement |
BEGIN_ATTR, DURATION_ATTR, ELEMENT_BEGIN_EVENT, ELEMENT_END_EVENT, ELEMENT_NOT_PAUSED_EVENT, ELEMENT_PAUSED_EVENT, EXCL_ELEM, INDEFINITE_VALUE, ITEM_ELEM, PAR_ELEM, PREFETCH_ATTR, REPEAT_ATTR, SELECT_ATTR, SEQ_ELEM, TIMESHEET_ELEM |
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
ItemImpl(org.apache.xerces.dom.DocumentImpl owner,
java.lang.String namespace,
java.lang.String tag)
Creates a new instance for item element |
|
| Method Summary | |
protected void |
doRepeat()
Subclasses must implement this to handle the repeating |
protected void |
doSetPaused()
Subclasses should implement this method for the actions caused by the change in pause status |
protected void |
doStartElement()
Subclasses must implement this to make it ready to be started |
protected void |
doStopElement()
Subclasses must implement this to take care of all things needed for this element to stop |
protected void |
elementStarting(TimedElementImpl elem)
Called by a child element of this element to notify that the child is going to start due to some dom event it was listening to. |
protected boolean |
handleElementEnded(TimedElementImpl elem)
Checks whether this element should take some specific action when a child element notifies it's going to end. |
void |
init()
Initialize this element. |
void |
mediaEnded(fi.hut.tml.xsmiles.mlfc.timesheet.ElementController elem)
This item's ElementControllers inform the end of their media object using this method |
void |
setEnabled(boolean enabled)
Enables or disables the timesheet. |
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.timesheet.TimedElementImpl |
activate, addPauseListener, addPrefetchedMedia, createEvent, elementEnded, getCache, handleEvent, hasEventScheduled, isActive, isPaused, notifyEnd, notifyStart, parseRepeatCount, parseTimeAttribute, schedule, scheduleEnd, scheduleEvent, setActive, setEventListeners, setPaused, shouldRepeat, startElement, stopElement, toString, unSchedule, update |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, setPrefix, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Constructor Detail |
public ItemImpl(org.apache.xerces.dom.DocumentImpl owner,
java.lang.String namespace,
java.lang.String tag)
owner - namespace - tag - | Method Detail |
public void init()
XSmilesElementImpl
init in interface InitializableElementinit in class TimedElementImplpublic void mediaEnded(fi.hut.tml.xsmiles.mlfc.timesheet.ElementController elem)
elem - the element controllerprotected void doSetPaused()
TimedElementImpl
doSetPaused in class TimedElementImplprotected void doRepeat()
TimedElementImpl
doRepeat in class TimedElementImplprotected void doStartElement()
TimedElementImpl
doStartElement in class TimedElementImplprotected void doStopElement()
TimedElementImpl
doStopElement in class TimedElementImplpublic void setEnabled(boolean enabled)
TimedElementImplItemImpl.
setEnabled in class TimedElementImplenabled - protected void elementStarting(TimedElementImpl elem)
TimedElementImpl
elementStarting in class TimedElementImplelem - the TimedElement that is startingprotected boolean handleElementEnded(TimedElementImpl elem)
TimedElementImpl
handleElementEnded in class TimedElementImplelem - the element that is about to end
true if something special is done, false for the default action
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||