public class VaadinUtilsCommon extends Object
| Constructor and Description |
|---|
VaadinUtilsCommon() |
public RecordHolder getBrowserWindowSize(ExecutionContext ctx)
ctx - public void notify(ExecutionContext ctx, String caption, String description, EnumerationImpl type, EnumerationImpl alignment, Decimal delayMillis, String cssStyle, Boolean htmlContentAllowed)
ctx - caption - description - type - alignment - delayMillis - cssStyle - htmlContentAllowed - public boolean isDescendantOrSelf(ExecutionContext ctx, RecordHolder parent, RecordHolder child)
ctx - parent - child - true if the parent is direct or indirect parent of the child record.public ListHolder getChildren(ExecutionContext ctx, RecordHolder def)
ctx - def - - ui::VerticalLayout, ui::HorizontalLayout or ui::FormLayout recordpublic ListHolder getTabs(ExecutionContext ctx, RecordHolder tabbedLayout)
ctx - tabbedLayout - - ui::TabbedLayout recordpublic void addTab(ExecutionContext ctx, RecordHolder tabbedLayout, RecordHolder tab)
ctx - tabbedLayout - tab - public void removeTab(ExecutionContext ctx, RecordHolder tabbedLayout, RecordHolder tab)
ctx - tabbedLayout - tab - public void selectTab(ExecutionContext ctx, RecordHolder tabbedLayout, RecordHolder tab)
ctx - tabbedLayout - tab - public void invoke(ExecutionContext ctx, CollectionHolder targets, String methodName, ListHolder parameters)
ctx - targets - - a list of ui::Container recordsmethodName - parameters - public ListHolder findTopmostComponents(ExecutionContext ctx, Type type, RecordHolder root)
ctx - type - root - type.public void refresh(ExecutionContext ctx, CollectionHolder components)
ctx - components - public void persist(ExecutionContext ctx) throws LspsException
ctx - LspsExceptionpublic void collectGarbage(ExecutionContext ctx) throws LspsException
LspsExceptionpublic void requestSubmit(ExecutionContext ctx) throws LspsException
ctx - LspsExceptionpublic void requestSubmitAndNavigate(ExecutionContext ctx, RecordHolder navigateTo) throws LspsException
ctx - navigateTo - LspsExceptionpublic void merge(ExecutionContext ctx, CollectionHolder viewModels)
ctx - viewModels - public void clear(ExecutionContext ctx, CollectionHolder viewModels)
ctx - viewModels - public void showConstraintViolations(ExecutionContext ctx, ListHolder constraintViolations)
ctx - constraintViolations - public RecordHolder createAndShow(ExecutionContext ctx, RecordHolder def)
ctx - def - public void hideAndDestroy(ExecutionContext ctx, RecordHolder def)
ctx - def - public RecordHolder createAndAdd(ExecutionContext ctx, Object wwhat, RecordHolder wwhere)
ctx - wwhat - - ui componentwwhere - ui::VerticalLayout, ui::HorizontalLayout or ui::FormLayout componentpublic void removeAndDestroy(ExecutionContext ctx, RecordHolder wwhat, RecordHolder wwhere)
ctx - wwhat - wwhere - public void removeAll(ExecutionContext ctx, RecordHolder wwhere)
ctx - wwhere - Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.