|
|||||||||||
| 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.dom.VisualElementImpl
fi.hut.tml.xsmiles.mlfc.xforms.dom.XFormsElementImpl
fi.hut.tml.xsmiles.mlfc.xforms.dom.DynBoundElementImpl
fi.hut.tml.xsmiles.mlfc.xforms.dom.RepeatElementImpl
The repeat element.
| Nested Class Summary |
| Nested classes inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl |
XSmilesElementImpl.PseudoNodeList |
| Field Summary | |
static java.lang.String |
CSS_CURSOR_BACKGROUND_COLOR_PROPERTY
|
static java.lang.String |
CSS_CURSOR_COLOR_PROPERTY
|
protected InstanceNode |
currentContextNode
In init, the current context node |
protected java.awt.Color |
cursorBGColor
the repeat cursors color |
protected java.awt.Color |
cursorFGColor
the repeat cursors color |
protected java.util.Vector |
pseudoElements
|
protected RepeatHandler |
repeatHandler
The prototype node |
| Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dom.DynBoundElementImpl |
bind, BINDING_ATTRIBUTES_NOT_FOUND, BINDING_FAILED, BINDING_OK, binding_state, bindingAttributesRequired, BOUND_NODE_NOT_FOUND, contextNode, init, myModel, refExpr, UNINITIALIZED |
| Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dom.XFormsElementImpl |
debugEvents, EVENTS_NS, handler, inited, ownerDoc |
| Fields inherited from class fi.hut.tml.xsmiles.dom.VisualElementImpl |
views |
| Fields inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl |
DESTROYED, elementStatus, INITIALIZED, INITIALIZING, setPseudoClasses, style, 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 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 | |
RepeatElementImpl(XFormsElementHandler owner,
java.lang.String ns,
java.lang.String name)
|
|
| Method Summary | |
java.lang.Object |
clone()
|
void |
destroy()
Destroy this element and its descendants recursively. |
protected void |
focusEventReceived(org.w3c.dom.events.UIEvent evt)
|
int |
getBindingType()
|
java.util.Vector |
getPseudoElements()
get the vector containing all pseudoelements of this element. |
RepeatHandler |
getRepeatHandler()
|
void |
handleEvent(org.w3c.dom.events.Event evt)
|
void |
init()
In init, the content is created in the dom This is recalled by insert and delete actions |
protected void |
initialize()
|
void |
notifyBindingChanged(org.w3c.dom.NodeList newBinding)
notifies the listener that the binding and the value changed |
protected void |
notifyBindingChangedRecursively(org.w3c.dom.Element elem)
the ancestor may signal thru this method that its binding has changed, and therefore I should renew my context node and binding |
void |
notifyPseudoRemoved(org.w3c.dom.Element elem)
since the pseudoelement removals are not catched by the xsmilesvisualelement, this method can be used to notify a remove |
protected void |
registerListeners()
|
protected void |
unregisterListeners()
|
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dom.XFormsElementImpl |
debugNode, dispatch, dispatch, dispatchActivateEvent, dispatchClickEvent, dispatchEvent, findFirstRelevantControl, getBrowser, getClassName, getComponentFactory, getId, getModel, getModelId, getModelInScope, getSrc, getStyleAttrValue, getXMLDocument, handleXFormsException, initializeXMLEvents, isCSSLayoutDoc, moveNodes, printEvent, removeAllChildren, retrieveInstanceItem, retrieveResourceAsString, serializeNode, setClassName, setHandler, setId, setOwnerDoc |
| Methods inherited from class fi.hut.tml.xsmiles.dom.VisualElementImpl |
addView, belongsToTree, getViews, insertBefore, isCurrentlyVisible, isFocusPoint, isPseudoClass, isVisibleByCSSProperties, removeAllViews, removeAttribute, removeChild, replaceChild, setAttribute, setStatus, styleChanged, updateViews |
| 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, removeAttributeNode, removeAttributeNS, 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, item, 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, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fi.hut.tml.xsmiles.dom.StylableElement |
getRuleNode, getStyle, getStyleAttrValue, hasStyle, isPseudoClass, setRuleNode, setStyle |
| 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 |
| Methods inherited from interface fi.hut.tml.xsmiles.dom.VisualElement |
getStyle |
| Methods inherited from interface fi.hut.tml.xsmiles.dom.PseudoClassController |
getPseudoClass, setPseudoClass |
| Field Detail |
public static final java.lang.String CSS_CURSOR_BACKGROUND_COLOR_PROPERTY
public static final java.lang.String CSS_CURSOR_COLOR_PROPERTY
protected InstanceNode currentContextNode
protected RepeatHandler repeatHandler
protected java.awt.Color cursorFGColor
protected java.awt.Color cursorBGColor
protected java.util.Vector pseudoElements
| Constructor Detail |
public RepeatElementImpl(XFormsElementHandler owner,
java.lang.String ns,
java.lang.String name)
| Method Detail |
public void init()
init in interface XFormsElementinit in class XFormsElementImplprotected void initialize()
public int getBindingType()
getBindingType in class DynBoundElementImplpublic RepeatHandler getRepeatHandler()
public void destroy()
destroy in interface XFormsElementdestroy in class DynBoundElementImplpublic void notifyBindingChanged(org.w3c.dom.NodeList newBinding)
notifyBindingChanged in interface DynamicDependencyListenernotifyBindingChanged in class DynBoundElementImplprotected void notifyBindingChangedRecursively(org.w3c.dom.Element elem)
notifyBindingChangedRecursively in class DynBoundElementImplpublic void handleEvent(org.w3c.dom.events.Event evt)
handleEvent in interface org.w3c.dom.events.EventListenerhandleEvent in class VisualElementImplprotected void focusEventReceived(org.w3c.dom.events.UIEvent evt)
protected void registerListeners()
protected void unregisterListeners()
public java.util.Vector getPseudoElements()
PseudoElementContainerService
getPseudoElements in interface PseudoElementContainerServicepublic void notifyPseudoRemoved(org.w3c.dom.Element elem)
notifyPseudoRemoved in interface PseudoElementContainerServicenotifyPseudoRemoved in class VisualElementImplelem -
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class DynBoundElementImpljava.lang.CloneNotSupportedException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||