Search in sources :

Example 6 with Dimension

use of org.jowidgets.common.types.Dimension in project jo-client-platform by jo-source.

the class BeanTableAttributeListImpl method setSizes.

public void setSizes() {
    final Dimension minSize = super.getMinSize();
    setMinSize(new Dimension(minSize.getWidth() + 30, minSize.getHeight()));
    final Dimension prefSize = super.getPreferredSize();
    setPreferredSize(new Dimension(prefSize.getWidth() + 30, prefSize.getHeight()));
}
Also used : Dimension(org.jowidgets.common.types.Dimension)

Example 7 with Dimension

use of org.jowidgets.common.types.Dimension in project jo-client-platform by jo-source.

the class ExecutionTaskDialogDefaults method initialize.

@Override
public void initialize(final IExecutionTaskDialogBluePrint bluePrint) {
    bluePrint.setModal(true);
    bluePrint.setCancelButton(BPF.buttonCancel());
    bluePrint.setMinSize(new Dimension(320, 130));
    bluePrint.setCloseable(false);
    bluePrint.setAutoDispose(true);
}
Also used : Dimension(org.jowidgets.common.types.Dimension)

Aggregations

Dimension (org.jowidgets.common.types.Dimension)7 IBluePrintFactory (org.jowidgets.api.widgets.blueprint.factory.IBluePrintFactory)2 ICapApiBluePrintFactory (org.jowidgets.cap.ui.api.widgets.ICapApiBluePrintFactory)2 MigLayoutDescriptor (org.jowidgets.common.widgets.layout.MigLayoutDescriptor)2 LinkedList (java.util.LinkedList)1 List (java.util.List)1 ITableLayoutBuilder (org.jowidgets.api.layout.tablelayout.ITableLayoutBuilder)1 IInputControl (org.jowidgets.api.widgets.IInputControl)1 IInputContentContainer (org.jowidgets.api.widgets.content.IInputContentContainer)1 IInputContentCreator (org.jowidgets.api.widgets.content.IInputContentCreator)1 IBeanProxy (org.jowidgets.cap.ui.api.bean.IBeanProxy)1 IUiConfigurableFilter (org.jowidgets.cap.ui.api.filter.IUiConfigurableFilter)1 IAttributeFilterControl (org.jowidgets.cap.ui.api.widgets.IAttributeFilterControl)1 ComponentAdapter (org.jowidgets.tools.controller.ComponentAdapter)1 Some (org.jowidgets.util.maybe.Some)1