IMPLTYPE - Implementation typepublic interface IPLHasBorder<IMPLTYPE extends IPLHasBorder<IMPLTYPE>> extends IPLObject<IMPLTYPE>
| Modifier and Type | Field and Description |
|---|---|
static BorderSpec |
DEFAULT_BORDER |
| Modifier and Type | Method and Description |
|---|---|
BorderSpec |
getBorder() |
default float |
getBorderBottomWidth() |
default float |
getBorderLeftWidth() |
default float |
getBorderRightWidth() |
default float |
getBorderTopWidth() |
default float |
getBorderXSumWidth() |
default float |
getBorderYSumWidth() |
IMPLTYPE |
setBorder(BorderSpec aBorder)
Set the border values.
|
default IMPLTYPE |
setBorder(BorderStyleSpec aBorder)
Set all border values (left, top, right, bottom) to the same value.
|
default IMPLTYPE |
setBorder(BorderStyleSpec aBorderY,
BorderStyleSpec aBorderX)
Set all border values.
|
default IMPLTYPE |
setBorder(BorderStyleSpec aBorderTop,
BorderStyleSpec aBorderRight,
BorderStyleSpec aBorderBottom,
BorderStyleSpec aBorderLeft)
Set all border values to potentially different values.
|
default IMPLTYPE |
setBorderBottom(BorderStyleSpec aBorder)
Set the bottom border value.
|
default IMPLTYPE |
setBorderLeft(BorderStyleSpec aBorder)
Set the left border value.
|
default IMPLTYPE |
setBorderRight(BorderStyleSpec aBorder)
Set the right border value.
|
default IMPLTYPE |
setBorderTop(BorderStyleSpec aBorder)
Set the top border value.
|
getAsSplittable, getDebugID, isSplittablestatic final BorderSpec DEFAULT_BORDER
@Nonnull default IMPLTYPE setBorder(@Nullable BorderStyleSpec aBorder)
aBorder - The border style specification to use. May be null to
indicate no border.@Nonnull default IMPLTYPE setBorder(@Nullable BorderStyleSpec aBorderY, @Nullable BorderStyleSpec aBorderX)
aBorderY - The Y-value to use (for top and bottom). May be null to
indicate no border.aBorderX - The X-value to use (for left and right). May be null to
indicate no border.@Nonnull default IMPLTYPE setBorder(@Nullable BorderStyleSpec aBorderTop, @Nullable BorderStyleSpec aBorderRight, @Nullable BorderStyleSpec aBorderBottom, @Nullable BorderStyleSpec aBorderLeft)
aBorderTop - Top. May be null to indicate no border.aBorderRight - Right. May be null to indicate no border.aBorderBottom - Bottom. May be null to indicate no border.aBorderLeft - Left. May be null to indicate no border.@Nonnull IMPLTYPE setBorder(@Nonnull BorderSpec aBorder)
aBorder - Border to use. May not be null.@Nonnull default IMPLTYPE setBorderTop(@Nullable BorderStyleSpec aBorder)
aBorder - The value to use. May be null.@Nonnull default IMPLTYPE setBorderRight(@Nullable BorderStyleSpec aBorder)
aBorder - The value to use. May be null.@Nonnull default IMPLTYPE setBorderBottom(@Nullable BorderStyleSpec aBorder)
aBorder - The value to use. May be null.@Nonnull default IMPLTYPE setBorderLeft(@Nullable BorderStyleSpec aBorder)
aBorder - The value to use. May be null.@Nonnull BorderSpec getBorder()
null.default float getBorderTopWidth()
default float getBorderRightWidth()
default float getBorderBottomWidth()
default float getBorderLeftWidth()
default float getBorderXSumWidth()
default float getBorderYSumWidth()
Copyright © 2014–2016 Philip Helger. All rights reserved.