Package org.jdesktop.wonderland.common.cell

Examples of org.jdesktop.wonderland.common.cell.MultipleParentException


     * @param parent the parent cell
     * @throws org.jdesktop.wonderland.common.cell.MultipleParentException
     */
    void setParent(CellMO parent) throws MultipleParentException {
        if (parent!=null && parentRef!=null)
            throw new MultipleParentException();
       
        if (parent==null) {
            this.parentRef = null;
            this.parentCellID = CellID.getInvalidCellID();
        } else {
View Full Code Here


     * @param child to add
     * @throws org.jdesktop.wonderland.common.cell.MultipleParentException
     */
    public void addChild(Cell child) throws MultipleParentException {
        if (child.getParent() != null) {
            throw new MultipleParentException();
        }

        synchronized (children) {
            children.add(child);
            child.setParent(this);
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.common.cell.MultipleParentException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.