Package edu.indiana.extreme.xbaya.component.system

Examples of edu.indiana.extreme.xbaya.component.system.EndBlockComponent


    /**
     * @see edu.indiana.extreme.xbaya.graph.impl.NodeImpl#getComponent()
     */
    @Override
    public EndBlockComponent getComponent() {
        EndBlockComponent component = (EndBlockComponent) super.getComponent();
        if (component == null) {
            // The component is null when read from the graph XML.
            component = new EndBlockComponent();
            setComponent(component);
        }
        return component;
    }
View Full Code Here


    /**
     * Adds additional input port.
     */
    public void addInputPort() {
        EndBlockComponent component = getComponent();
        ComponentDataPort input = component.getInputPort();
        DataPort port = input.createPort();
        addInputPort(port);
    }
View Full Code Here

    /**
     * Adds additional output port.
     */
    public void addOutputPort() {
        EndBlockComponent component = getComponent();
        ComponentDataPort outputPort = component.getOutputPort();
        DataPort port = outputPort.createPort();
        addOutputPort(port);
    }
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.component.system.EndBlockComponent

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.