Class DragAndDropOrderedLayoutWrapper
Object
DragAndDropOrderedLayoutWrapper
- All Implemented Interfaces:
LayoutWrapper,OrderedLayoutWrapper,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(FormElement formElement, Component component) voidaddComponent(Component c) voidaddComponent(Component c, int index) voidconfigureAlignment(Component component, ElementAlign align) voidconfigureExpandRatio(Component component, Number expandRatio) intgetComponentIndex(Component c) ComponentvoidmoveComponent(Component c, int newIndex) voidvoidreplaceComponent(Component old, Component replacement) voidsetBackgroundColor(String color)
-
Constructor Details
-
DragAndDropOrderedLayoutWrapper
public DragAndDropOrderedLayoutWrapper()
-
-
Method Details
-
getRootComposition
public Component getRootComposition()- Specified by:
getRootCompositionin interfaceLayoutWrapper
-
addComponent
- Specified by:
addComponentin interfaceLayoutWrapper
-
replaceComponent
public void replaceComponent(Component old, Component replacement) - Specified by:
replaceComponentin interfaceLayoutWrapper
-
configureExpandRatio
- Specified by:
configureExpandRatioin interfaceLayoutWrapper
-
configureAlignment
- Specified by:
configureAlignmentin interfaceLayoutWrapper
-
getComponentIndex
public int getComponentIndex(Component c) - Specified by:
getComponentIndexin interfaceOrderedLayoutWrapper
-
addComponent
public void addComponent(Component c, int index) - Specified by:
addComponentin interfaceOrderedLayoutWrapper
-
addComponent
public void addComponent(Component c) - Specified by:
addComponentin interfaceOrderedLayoutWrapper
-
moveComponent
public void moveComponent(Component c, int newIndex) - Specified by:
moveComponentin interfaceOrderedLayoutWrapper
-
setBackgroundColor
- Specified by:
setBackgroundColorin interfaceOrderedLayoutWrapper
-
removeBackgroundColor
public void removeBackgroundColor()- Specified by:
removeBackgroundColorin interfaceOrderedLayoutWrapper
-