|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException nextapp.echo.app.IllegalChildException
public class IllegalChildException
An exception thrown when attempting to add a child to the component
hierarchy where either the parent is incompatible with the child or
the child is incompatible with the parent. This exception may be thrown
in cases such as attempting to add children to a component that does not
support children (e.g., a Label
), or adding too many children
to an object (e.g., adding more than two children to a
SplitPane
.
Constructor Summary | |
---|---|
protected |
IllegalChildException(Component parent,
Component illegalChild)
Creates a new IllegalChildException . |
Method Summary | |
---|---|
Component |
getIllegalChild()
Returns the illegally added child. |
Component |
getParent()
Returns the parent component to which the child was to be added. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected IllegalChildException(Component parent, Component illegalChild)
IllegalChildException
.
parent
- the parent componentillegalChild
- the child that was attempted to be illegally addedMethod Detail |
---|
public Component getIllegalChild()
public Component getParent()
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |