Interface Divider<D extends Divider<D>>
- All Superinterfaces:
Comparable<D>,Component<D>,Copyable<D>,Serializable,SimpleFormComponent<D>
- All Known Implementing Classes:
DefaultDivider
Represents a simple horizontal rule between other components.
- Since:
- Metadata Service 2.0.8, Release Train 2.1.6
- Author:
- Nathan Moore (nathandmoore)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classstatic final classThe possible widths for the divider. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringGet the spacing of the divider.default StringgetWidth()Get the width of the divider.default DSet the spacing of the divider.default DUnset the spacing of the divider.default DUnset the width of the divider.default DSet the width of the divider.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.broadleafcommerce.metadata.dsl.core.Component
addAction, addAction, addComponent, addEndpoint, addEndpoint, addSimpleComponent, apply, attribute, augmentable, augmentationKey, classifier, clearConditionals, clearEndpoints, conditional, conditionals, description, description, findAction, findAction, findActions, findAttribute, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoint, findEndpoints, get, get, getAction, getAction, getActions, getActionsList, getAttribute, getAttribute, getAttributes, getAugmentableFlag, getAugmentationKey, getClassifier, getComponent, getComponent, getComponents, getComponentsList, getConditionals, getDescription, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOrder, getScope, getType, hasAction, hasAttribute, hasComponent, hasEndpoint, id, isAugmentable, isTranslatable, label, label, notTranslatable, order, removeAction, removeAttribute, removeComponent, removeEndpoint, scope, self, setActions, setAttributes, setAugmentable, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, type
-
Method Details
-
getWidth
Get the width of the divider.- Returns:
- Get the width of the divider.
-
unsetWidth
Unset the width of the divider.- Returns:
self
-
width
Set the width of the divider.- Parameters:
width- The width of the divider- Returns:
self
-
getSpacing
Get the spacing of the divider.- Returns:
- The spacing of the divider, default is 2.
-
unsetSpacing
Unset the spacing of the divider.- Returns:
self
-
spacing
Set the spacing of the divider.- Parameters:
spacing- The spacing of the divider- Returns:
self
-