| Constructor and Description |
|---|
Borders() |
Borders(boolean border)
Constructor with all borders the same, and default properties: 0.035cm solid #000000
|
Borders(boolean borderTop,
boolean borderBottom,
boolean borderLeft,
boolean borderRight)
Constructor specifying which borders to activate, with default properties: 0.035cm solid #000000.
|
Borders(boolean border,
String borderProperties)
Constructor with all borders the same, specifying its properties.
|
Borders(boolean borderTop,
String borderTopProperties,
boolean borderBottom,
String borderBottomProperties,
boolean borderLeft,
String borderLeftProperties,
boolean borderRight,
String borderRightProperties)
Constructor specifying which borders to activate, specifying their properties.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
anyBorder()
Tells if there is any border set on.
|
Object |
clone() |
boolean |
equals(Object obj) |
String |
getBorderBottomProperties()
Gets bottom border properties.
|
String |
getBorderLeftProperties()
Gets left border properties.
|
String |
getBorderProperties()
Gets global border properties.
|
String |
getBorderRightProperties()
Gets right border properties.
|
String |
getBorderTopProperties()
Gets top border properties.
|
Map<String,String> |
getCssStyles()
Returns a Map representing this class as css-styles.
|
int |
hashCode() |
boolean |
isBorder()
Determines if the style has all borders or not.
|
boolean |
isBorderBottom()
Determines if the style has bottom border or not.
|
boolean |
isBorderLeft()
Determines if the style has left border or not.
|
boolean |
isBorderRight()
Determines if the style has right border or not.
|
boolean |
isBorderTop()
Determines if the style has top border or not.
|
void |
setBorder(boolean border)
Sets all borders on/off.
|
void |
setBorderBottom(boolean borderBottom)
Sets bottom border on/off.
|
void |
setBorderBottomProperties(String borderBottomProperties)
Sets bottom border properties.
|
void |
setBorderLeft(boolean borderLeft)
Sets left border on/off.
|
void |
setBorderLeftProperties(String borderLeftProperties)
Sets left border properties.
|
void |
setBorderProperties(String borderProperties)
Sets global border properties.
|
void |
setBorderRight(boolean borderRight)
Sets right border on/off.
|
void |
setBorderRightProperties(String borderRightProperties)
Sets right border properties.
|
void |
setBorderTop(boolean borderTop)
Sets top border on/off.
|
void |
setBorderTopProperties(String borderTopProperties)
Sets top border properties.
|
public Borders()
public Borders(boolean border)
border - Boolean setting all borders on/off.public Borders(boolean border,
String borderProperties)
border - Boolean setting all borders on/off.borderProperties - Border properties.public Borders(boolean borderTop,
boolean borderBottom,
boolean borderLeft,
boolean borderRight)
borderTop - Boolean setting top border on/off.borderBottom - Boolean setting bottom border on/off.borderLeft - Boolean setting left border on/off.borderRight - Boolean setting right border on/off.public Borders(boolean borderTop,
String borderTopProperties,
boolean borderBottom,
String borderBottomProperties,
boolean borderLeft,
String borderLeftProperties,
boolean borderRight,
String borderRightProperties)
borderTop - Boolean setting top border on/off.borderTopProperties - Top border properties.borderBottom - Boolean setting bottom border on/off.borderBottomProperties - Bottom border properties.borderLeft - Boolean setting left border on/off.borderLeftProperties - Left border properties.borderRight - Boolean setting right border on/off.borderRightProperties - Right border properties.public boolean isBorder()
public void setBorder(boolean border)
border - Boolean representing all borders set on/off.public String getBorderProperties()
public void setBorderProperties(String borderProperties)
borderProperties - Global border properties.public boolean isBorderTop()
public void setBorderTop(boolean borderTop)
borderTop - Boolean representing top border set on/off.public String getBorderTopProperties()
public void setBorderTopProperties(String borderTopProperties)
borderTopProperties - Top border properties.public boolean isBorderBottom()
public void setBorderBottom(boolean borderBottom)
borderBottom - Boolean representing bottom border set on/off.public String getBorderBottomProperties()
public void setBorderBottomProperties(String borderBottomProperties)
borderBottomProperties - Bottom border properties.public boolean isBorderLeft()
public void setBorderLeft(boolean borderLeft)
borderLeft - Boolean representing left border set on/off.public String getBorderLeftProperties()
public void setBorderLeftProperties(String borderLeftProperties)
borderLeftProperties - Left border properties.public boolean isBorderRight()
public void setBorderRight(boolean borderRight)
borderRight - Boolean representing right border set on/off.public String getBorderRightProperties()
public void setBorderRightProperties(String borderRightProperties)
borderRightProperties - Right border properties.public boolean anyBorder()
public Map<String,String> getCssStyles()
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2026. All rights reserved.