//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// This file is a part of the 'esoco-business' project.
// Copyright 2017 Elmar Sonnenschein, esoco GmbH, Flensburg, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//	  http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
package de.esoco.process.ui.container;

import de.esoco.lib.property.Layout;

import de.esoco.process.ui.Container;
import de.esoco.process.ui.LayoutContainer;


/********************************************************************
 * A panel that layouts components on the four edges around it's center area.
 *
 * @author eso
 */
public class DockPanel extends LayoutContainer<DockPanel>
{
	//~ Constructors -----------------------------------------------------------

	/***************************************
	 * Creates a new instance.
	 *
	 * @param rParent The parent container
	 */
	public DockPanel(Container<?> rParent)
	{
		super(rParent, Layout.DOCK);
	}
}

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// This file is a part of the 'esoco-business' project.
// Copyright 2017 Elmar Sonnenschein, esoco GmbH, Flensburg, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//	  http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
package de.esoco.process.ui.container;

import de.esoco.lib.property.Layout;
import de.esoco.lib.property.Orientation;

import de.esoco.process.ui.Container;
import de.esoco.process.ui.LayoutContainer;

import static de.esoco.lib.property.StyleProperties.VERTICAL;


/********************************************************************
 * A panel that layouts components on the edges of it's center area.
 *
 * @author eso
 */
public class DockPanel extends LayoutContainer<DockPanel>
{
	//~ Constructors -----------------------------------------------------------

	/***************************************
	 * Creates a new instance.
	 *
	 * @param rParent      The parent container
	 * @param eOrientation bVertical TRUE for vertical orientation
	 */
	public DockPanel(Container<?> rParent, Orientation eOrientation)
	{
		super(rParent, Layout.DOCK);

		if (eOrientation == Orientation.VERTICAL)
		{
			set(VERTICAL);
		}
	}
}

Add classes for simplified building of process UIs
sdack-1: Add classes for simplified building of process UIs