Interface HasAlign<T>
- Type Parameters:
T
-
- All Known Implementing Classes:
AbstractEnhancedLabel
,AbstractLegend.SelectorLabel
,AbstractSeries.LabelLayout
,AxisLabel
,HasAxisName.NameTextStyle
,Label
,LineSeries.EndLabel
,RichStyle
,Title.SubtextStyle
public interface HasAlign<T>
A component that has alignment.
-
Method Summary
Modifier and TypeMethodDescriptiongetAlign()
void
Sets horizontal alignment of component or replaces an existing one.void
setVerticalAlign
(VerticalAlign verticalAlign) Sets vertical alignment of component or replaces an existing one.default T
default T
withVerticalAlign
(VerticalAlign verticalAlign)
-
Method Details
-
getAlign
Align getAlign()- Returns:
- horizontal alignment of component
-
getVerticalAlign
VerticalAlign getVerticalAlign()- Returns:
- vertical alignment of component
-