public abstract class VParentBase extends java.lang.Object implements VParent
<p>Base class for parent calendar components.</p>
<p>The order of the children from childrenUnmodifiable()
equals the order they were added.
Adding children is not exposed by the implementation, but rather handled internally. When a VChild
has its
value set, it’s automatically included in the collection of children by the Orderer
.</p>
<p>The Orderer
requires registering listeners to child properties.</p>
Constructor and Description |
---|
VParentBase() |
Modifier and Type | Method and Description |
---|---|
java.util.List<VChild> |
childrenUnmodifiable()
<p>Returns unmodifiable list of
VChild elements.</p> |
void |
copyInto(VParent destination)
|
protected javafx.util.Callback<VChild,java.lang.Void> |
copyIntoCallback()
Deprecated.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
errors()
Produces a list of error messages indicating problems with calendar element
VElement.errors() is invoked recursively to return errors of child elements in addition to errors in parent |
int |
hashCode() |
Orderer |
orderer()
|
protected void |
setContentLineGenerator(ContentLineStrategy contentLineGenerator) |
java.lang.String |
toContent()
Returns iCalendar content text.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isValid, name, parseContent
public Orderer orderer()
protected void setContentLineGenerator(ContentLineStrategy contentLineGenerator)
@Deprecated protected javafx.util.Callback<VChild,java.lang.Void> copyIntoCallback()
Strategy to copy subclass’s children This method MUST be overridden in subclasses
public java.util.List<VChild> childrenUnmodifiable()
VParent
<p>Returns unmodifiable list of VChild
elements.</p>
childrenUnmodifiable
in interface VParent
public java.util.List<java.lang.String> errors()
VElement
Produces a list of error messages indicating problems with calendar element
VElement.errors()
is invoked recursively to return errors of child elements in addition to errors in parent
public java.lang.String toContent()
VElement
Returns iCalendar content text.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object