|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jaret.util.ui.table.renderer.DefaultBorderConfiguration
public class DefaultBorderConfiguration
Default implementation of a BorderConfiguration.
| Field Summary | |
|---|---|
protected int |
_borderBottom
bottom border. |
protected int |
_borderLeft
left border. |
protected int |
_borderRight
right border. |
protected int |
_borderTop
top border. |
| Constructor Summary | |
|---|---|
DefaultBorderConfiguration(int left,
int right,
int top,
int bottom)
Construct a border configuration. |
|
DefaultBorderConfiguration(java.lang.String str)
Construct a borderconfiguration form a comma separated string holding the values (no error hndling). |
|
| Method Summary | |
|---|---|
DefaultBorderConfiguration |
copy()
Produce a copy of this border configuration. |
int |
getBorderBottom()
Get bottom border width. |
int |
getBorderLeft()
Get left border width. |
int |
getBorderRight()
Get right border width. |
int |
getBorderTop()
Get top border width. |
void |
setBorderBottom(int borderBottom)
|
void |
setBorderLeft(int borderLeft)
|
void |
setBorderRight(int borderRight)
|
void |
setBorderTop(int borderTop)
|
java.lang.String |
toString()
Produces a string that can be passed to the constructor as a csv string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int _borderLeft
protected int _borderRight
protected int _borderTop
protected int _borderBottom
| Constructor Detail |
|---|
public DefaultBorderConfiguration(int left,
int right,
int top,
int bottom)
left - left borderright - right bordertop - top borderbottom - bottom borderpublic DefaultBorderConfiguration(java.lang.String str)
str - csv string| Method Detail |
|---|
public DefaultBorderConfiguration copy()
copy in interface IBorderConfigurationpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getBorderBottom()
IBorderConfiguration
getBorderBottom in interface IBorderConfigurationpublic void setBorderBottom(int borderBottom)
borderBottom - The borderBottom to set.public int getBorderLeft()
IBorderConfiguration
getBorderLeft in interface IBorderConfigurationpublic void setBorderLeft(int borderLeft)
borderLeft - The borderLeft to set.public int getBorderRight()
IBorderConfiguration
getBorderRight in interface IBorderConfigurationpublic void setBorderRight(int borderRight)
borderRight - The borderRight to set.public int getBorderTop()
IBorderConfiguration
getBorderTop in interface IBorderConfigurationpublic void setBorderTop(int borderTop)
borderTop - The borderTop to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||