/*
 * 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);
}

@@ -643,12 +643,76 @@
  unit);%0D
+%0A%0D%0A    void setLocked(boolean locked);%0D%0A    boolean isLocked();%0D
 %0A%7D%0D%0A

split panel locking