/*
 * Copyright (c) 2008 Haulmont Technology Ltd. All Rights Reserved.
 * Haulmont Technology proprietary and confidential.
 * Use is subject to license terms.

 * Author: Dmitry Abramov
 * Created: 20.01.2009 17:22:42
 * $Id$
 */
package com.haulmont.cuba.gui.components;

public interface SplitPanel extends Component.Container, Component.Expandable, Component.BelongToFrame {

    public static int ORIENTATION_VERTICAL = 0;
    public static int ORIENTATION_HORIZONTAL = 1;

    int getOrientation();
    void setOrientation(int orientation);

    void setSplitPosition(int pos);
    void setSplitPosition(int pos, int unit);
}

/*
 * Copyright (c) 2008 Haulmont Technology Ltd. All Rights Reserved.
 * Haulmont Technology proprietary and confidential.
 * Use is subject to license terms.

 * Author: Dmitry Abramov
 * Created: 20.01.2009 17:22:42
 * $Id$
 */
package com.haulmont.cuba.gui.components;

public interface SplitPanel extends Component.Container, Component.Expandable, Component.BelongToFrame {

    public static int ORIENTATION_VERTICAL = 0;
    public static int ORIENTATION_HORIZONTAL = 1;

    int getOrientation();
    void setOrientation(int orientation);

    void setSplitPosition(int pos);
    void setSplitPosition(int pos, int unit);

    void setLocked(boolean locked);
    boolean isLocked();
}

split panel locking