public class IllegalChildException
extends java.lang.RuntimeException
Label), or adding too many children
to an object (e.g., adding more than two children to a
SplitPane.| Modifier | Constructor and Description |
|---|---|
protected |
IllegalChildException(Component parent,
Component illegalChild)
Creates a new
IllegalChildException. |
| Modifier and Type | Method and Description |
|---|---|
Component |
getIllegalChild()
Returns the illegally added child.
|
Component |
getParent()
Returns the parent component to which the child was to be added.
|