|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nocrala.tools.texttablefmt.BorderStyle
public class BorderStyle
Border style define the actual character(s) that will be rendered as borders, when a border or separator is shown.
You can use predefined styles or custom styles.
The following border styles are already predefined and can be used out of the box:
Note: Styles starting with UNICODE_ use characters (codepoints) outside the ASCII and ISO-8859-1 (Latin-1) sets. Therefore, some Operating Systems or tools might not be able to display them correctly. Avoid these predefined tiles if you need maximum compatibility.
BorderStyle.CLASSIC
+---------+-----------+----------+--------+ |Country | Population|Area (km2)| Density| +---------+----------------------+--------+ |Special 1| 1.350.000.000| 16.67| +---------+----------------------+--------+ |Total |147 000 000| 9 250 000| 15.89| +---------+-----------+----------+--------+
BorderStyle.BLANKS
Country Population Area (km2) Density Special 1 1.350.000.000 16.67 Total 147 000 000 9 250 000 15.89
BorderStyle.DOTS
........................................... .Country . Population.Area (km2). Density. ........................................... .Special 1. 1.350.000.000. 16.67. ........................................... .Total .147 000 000. 9 250 000. 15.89. ...........................................
BorderStyle.ASTERISKS
******************************************* *Country * Population*Area (km2)* Density* ******************************************* *Special 1* 1.350.000.000* 16.67* ******************************************* *Total *147 000 000* 9 250 000* 15.89* *******************************************
BorderStyle.CLASSIC_WIDE
+-----------+-------------+------------+----------+ | Country | Population | Area (km2) | Density | +-----------+--------------------------+----------+ | Special 1 | 1.350.000.000 | 16.67 | +-----------+--------------------------+----------+ | Total | 147 000 000 | 9 250 000 | 15.89 | +-----------+-------------+------------+----------+
BorderStyle.CLASSIC_LIGHT
+-----------------------------------------+ |Country Population Area (km2) Density| +-----------------------------------------+ |Special 1 1.350.000.000 16.67| +-----------------------------------------+ |Total 147 000 000 9 250 000 15.89| +-----------------------------------------+
BorderStyle.CLASSIC_LIGHT_WIDE
+----------------------------------------------+ | Country Population Area (km2) Density | +----------------------------------------------+ | Special 1 1.350.000.000 16.67 | +----------------------------------------------+ | Total 147 000 000 9 250 000 15.89 | +----------------------------------------------+
BorderStyle.HORIZONTAL_ONLY
--------- ----------- ---------- -------- Country Population Area (km2) Density --------- ----------- ---------- -------- Special 1 1.350.000.000 16.67 --------- ----------- ---------- -------- Total 147 000 000 9 250 000 15.89 --------- ----------- ---------- --------
BorderStyle.CLASSIC_COMPATIBLE
+---------+-----------+----------+--------+ !Country ! Population!Area (km2)! Density! +---------+----------------------+--------+ !Special 1! 1.350.000.000! 16.67! +---------+----------------------+--------+ !Total !147 000 000! 9 250 000! 15.89! +---------+-----------+----------+--------+
BorderStyle.CLASSIC_COMPATIBLE_WIDE
+-----------+-------------+------------+----------+ ! Country ! Population ! Area (km2) ! Density ! +-----------+--------------------------+----------+ ! Special 1 ! 1.350.000.000 ! 16.67 ! +-----------+--------------------------+----------+ ! Total ! 147 000 000 ! 9 250 000 ! 15.89 ! +-----------+-------------+------------+----------+
BorderStyle.CLASSIC_COMPATIBLE_LIGHT_WIDE
+----------------------------------------------+ ! Country Population Area (km2) Density ! +----------------------------------------------+ ! Special 1 1.350.000.000 16.67 ! +----------------------------------------------+ ! Total 147 000 000 9 250 000 15.89 ! +----------------------------------------------+
BorderStyle.HEAVY
+=========================================+ |Country | Population|Area (km2)| Density| +=========================================+ |Special 1| 1.350.000.000| 16.67| +=========================================+ |Total |147 000 000| 9 250 000| 15.89| +=========================================+
BorderStyle.HEAVY_TOP_AND_BOTTOM
+=========================================+ |Country | Population|Area (km2)| Density| +-----------------------------------------+ |Special 1| 1.350.000.000| 16.67| +-----------------------------------------+ |Total |147 000 000| 9 250 000| 15.89| +=========================================+
BorderStyle.DESIGN_CAFE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Country Population Area (km2) Density ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ Special 1 1.350.000.000 16.67 ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ Total 147 000 000 9 250 000 15.89 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BorderStyle.DESIGN_CASUAL
========================================= Country Population Area (km2) Density ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ Special 1 1.350.000.000 16.67 ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ Total 147 000 000 9 250 000 15.89 =========================================
BorderStyle.DESIGN_FORMAL
========================================= Country Population Area (km2) Density --------- ----------- ---------- -------- Special 1 1.350.000.000 16.67 --------- ----------- ---------- -------- Total 147 000 000 9 250 000 15.89 =========================================
BorderStyle.DESIGN_FORMAL_INVERSE
----------------------------------------- Country Population Area (km2) Density ========= =========== ========== ======== Special 1 1.350.000.000 16.67 ========= =========== ========== ======== Total 147 000 000 9 250 000 15.89 -----------------------------------------
BorderStyle.DESIGN_SLASH
///////////////////////////////////////// Country Population Area (km2) Density --------- ----------- ---------- -------- Special 1 1.350.000.000 16.67 --------- ----------- ---------- -------- Total 147 000 000 9 250 000 15.89 /////////////////////////////////////////
BorderStyle.DESIGN_TUBES
_________________________________________ |Country | Population|Area (km2)| Density| |_________|______________________|________| |Special 1| 1.350.000.000| 16.67| |_________|______________________|________| |Total |147 000 000| 9 250 000| 15.89| |_________|___________|__________|________|
BorderStyle.DESIGN_DIM
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ Country Population Area (km2) Density ¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨ Special 1 1.350.000.000 16.67 ¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨ Total 147 000 000 9 250 000 15.89 ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
BorderStyle.DESIGN_DOTS
··········································· ·Country · Population·Area (km2)· Density· ··········································· ·Special 1· 1.350.000.000· 16.67· ··········································· ·Total ·147 000 000· 9 250 000· 15.89· ···········································
BorderStyle.DESIGN_CURTAIN
o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o Country Population Area (km2) Density --------- ----------- ---------- -------- Special 1 1.350.000.000 16.67 --------- ----------- ---------- -------- Total 147 000 000 9 250 000 15.89 o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o
BorderStyle.DESIGN_CURTAIN_HEAVY
o===========================================o Country Population Area (km2) Density --------- ----------- ---------- -------- Special 1 1.350.000.000 16.67 --------- ----------- ---------- -------- Total 147 000 000 9 250 000 15.89 o===========================================o
BorderStyle.DESIGN_PAPYRUS
o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o ) Country Population Area (km2) Density ( ) ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ ( ) Special 1 1.350.000.000 16.67 ( ) ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ ( ) Total 147 000 000 9 250 000 15.89 ( o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o
BorderStyle.DESIGN_CAFE_WIDE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Country Population Area (km2) Density ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ Special 1 1.350.000.000 16.67 ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ Total 147 000 000 9 250 000 15.89 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BorderStyle.DESIGN_CASUAL_WIDE
============================================ Country Population Area (km2) Density ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ Special 1 1.350.000.000 16.67 ~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ Total 147 000 000 9 250 000 15.89 ============================================
BorderStyle.DESIGN_FORMAL_WIDE
============================================ Country Population Area (km2) Density --------- ----------- ---------- -------- Special 1 1.350.000.000 16.67 --------- ----------- ---------- -------- Total 147 000 000 9 250 000 15.89 ============================================
BorderStyle.DESIGN_FORMAL_INVERSE_WIDE
-------------------------------------------- Country Population Area (km2) Density ========= =========== ========== ======== Special 1 1.350.000.000 16.67 ========= =========== ========== ======== Total 147 000 000 9 250 000 15.89 --------------------------------------------
BorderStyle.DESIGN_SLASH_WIDE
//////////////////////////////////////////// Country Population Area (km2) Density --------- ----------- ---------- -------- Special 1 1.350.000.000 16.67 --------- ----------- ---------- -------- Total 147 000 000 9 250 000 15.89 ////////////////////////////////////////////
BorderStyle.DESIGN_TUBES_WIDE
_________________________________________________ | Country | Population | Area (km2) | Density | |___________|__________________________|__________| | Special 1 | 1.350.000.000 | 16.67 | |___________|__________________________|__________| | Total | 147 000 000 | 9 250 000 | 15.89 | |___________|_____________|____________|__________|
BorderStyle.DESIGN_DIM_WIDE
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ Country Population Area (km2) Density ¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨ Special 1 1.350.000.000 16.67 ¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨ Total 147 000 000 9 250 000 15.89 ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
BorderStyle.DESIGN_DOTS_WIDE
··················································· · Country · Population · Area (km2) · Density · ················································· · · Special 1 · 1.350.000.000 · 16.67 · ················································· · · Total · 147 000 000 · 9 250 000 · 15.89 · ···················································
BorderStyle.DESIGN_CURTAIN_WIDE
o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o Country Population Area (km2) Density --------- ----------- ---------- -------- Special 1 1.350.000.000 16.67 --------- ----------- ---------- -------- Total 147 000 000 9 250 000 15.89 o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o
BorderStyle.DESIGN_CURTAIN_HEAVY_WIDE
o==============================================o Country Population Area (km2) Density --------- ----------- ---------- -------- Special 1 1.350.000.000 16.67 --------- ----------- ---------- -------- Total 147 000 000 9 250 000 15.89 o==============================================o
BorderStyle.UNICODE_BOX
┌─────────┬───────────┬──────────┬────────┐ │Country │ Population│Area (km2)│ Density│ ├─────────┼───────────┴──────────┼────────┤ │Special 1│ 1.350.000.000│ 16.67│ ├─────────┼───────────┬──────────┼────────┤ │Total │147 000 000│ 9 250 000│ 15.89│ └─────────┴───────────┴──────────┴────────┘
BorderStyle.UNICODE_BOX_DOUBLE_BORDER
╔═════════╤═══════════╤══════════╤════════╗ ║Country │ Population│Area (km2)│ Density║ ╟─────────┼───────────┴──────────┼────────╢ ║Special 1│ 1.350.000.000│ 16.67║ ╟─────────┼───────────┬──────────┼────────╢ ║Total │147 000 000│ 9 250 000│ 15.89║ ╚═════════╧═══════════╧══════════╧════════╝
BorderStyle.UNICODE_BOX_HEAVY_BORDER
┏━━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━┓ ┃Country │ Population│Area (km2)│ Density┃ ┠─────────┼───────────┴──────────┼────────┨ ┃Special 1│ 1.350.000.000│ 16.67┃ ┠─────────┼───────────┬──────────┼────────┨ ┃Total │147 000 000│ 9 250 000│ 15.89┃ ┗━━━━━━━━━┷━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━━━┛
BorderStyle.UNICODE_DOUBLE_BOX
╔═════════╦═══════════╦══════════╦════════╗ ║Country ║ Population║Area (km2)║ Density║ ╠═════════╬═══════════╩══════════╬════════╣ ║Special 1║ 1.350.000.000║ 16.67║ ╠═════════╬═══════════╦══════════╬════════╣ ║Total ║147 000 000║ 9 250 000║ 15.89║ ╚═════════╩═══════════╩══════════╩════════╝
BorderStyle.UNICODE_HEAVY_BOX
┏━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━┓ ┃Country ┃ Population┃Area (km2)┃ Density┃ ┣━━━━━━━━━╋━━━━━━━━━━━┻━━━━━━━━━━╋━━━━━━━━┫ ┃Special 1┃ 1.350.000.000┃ 16.67┃ ┣━━━━━━━━━╋━━━━━━━━━━━┳━━━━━━━━━━╋━━━━━━━━┫ ┃Total ┃147 000 000┃ 9 250 000┃ 15.89┃ ┗━━━━━━━━━┻━━━━━━━━━━━┻━━━━━━━━━━┻━━━━━━━━┛
BorderStyle.UNICODE_ROUND_BOX
╭─────────┬───────────┬──────────┬────────╮ │Country │ Population│Area (km2)│ Density│ ├─────────┼───────────┴──────────┼────────┤ │Special 1│ 1.350.000.000│ 16.67│ ├─────────┼───────────┬──────────┼────────┤ │Total │147 000 000│ 9 250 000│ 15.89│ ╰─────────┴───────────┴──────────┴────────╯
BorderStyle.UNICODE_BOX_WIDE
┌───────────┬─────────────┬────────────┬──────────┐ │ Country │ Population │ Area (km2) │ Density │ ├───────────┼────────────┴ ───────────┼──────────┤ │ Special 1 │ 1.350.000.000 │ 16.67 │ ├───────────┼────────────┬ ───────────┼──────────┤ │ Total │ 147 000 000 │ 9 250 000 │ 15.89 │ └───────────┴─────────────┴────────────┴──────────┘
BorderStyle.UNICODE_ROUND_BOX_WIDE
╭───────────┬─────────────┬────────────┬──────────╮ │ Country │ Population │ Area (km2) │ Density │ ├───────────┼────────────┴ ───────────┼──────────┤ │ Special 1 │ 1.350.000.000 │ 16.67 │ ├───────────┼────────────┬ ───────────┼──────────┤ │ Total │ 147 000 000 │ 9 250 000 │ 15.89 │ ╰───────────┴─────────────┴────────────┴──────────╯
BorderStyle.UNICODE_HEAVY_BOX_WIDE
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ Country ┃ Population ┃ Area (km2) ┃ Density ┃ ┣━━━━━━━━━━━╋━━━━━━━━━━━━┴ ━━━━━━━━━━━╋━━━━━━━━━━┫ ┃ Special 1 ┃ 1.350.000.000 ┃ 16.67 ┃ ┣━━━━━━━━━━━╋━━━━━━━━━━━━┬ ━━━━━━━━━━━╋━━━━━━━━━━┫ ┃ Total ┃ 147 000 000 ┃ 9 250 000 ┃ 15.89 ┃ ┗━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━┛
BorderStyle.UNICODE_BOX_HEAVY_BORDER_WIDE
┏━━━━━━━━━━━┯━━━━━━━━━━━━━┯━━━━━━━━━━━━┯━━━━━━━━━━┓ ┃ Country │ Population │ Area (km2) │ Density ┃ ┠───────────┼────────────━┴━───────────┼──────────┨ ┃ Special 1 │ 1.350.000.000 │ 16.67 ┃ ┠───────────┼────────────━┬━───────────┼──────────┨ ┃ Total │ 147 000 000 │ 9 250 000 │ 15.89 ┃ ┗━━━━━━━━━━━┷━━━━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━┛
BorderStyle.UNICODE_DOUBLE_BOX_WIDE
╔═══════════╦═════════════╦════════════╦══════════╗ ║ Country ║ Population ║ Area (km2) ║ Density ║ ╠═══════════╬═════════════╩════════════╬══════════╣ ║ Special 1 ║ 1.350.000.000 ║ 16.67 ║ ╠═══════════╬═════════════╦════════════╬══════════╣ ║ Total ║ 147 000 000 ║ 9 250 000 ║ 15.89 ║ ╚═══════════╩═════════════╩════════════╩══════════╝
BorderStyle.UNICODE_BOX_DOUBLE_BORDER_WIDE
╔═══════════╤═════════════╤════════════╤══════════╗ ║ Country │ Population │ Area (km2) │ Density ║ ╟───────────┼────────────━┴━───────────┼──────────╢ ║ Special 1 │ 1.350.000.000 │ 16.67 ║ ╟───────────┼────────────━┬━───────────┼──────────╢ ║ Total │ 147 000 000 │ 9 250 000 │ 15.89 ║ ╚═══════════╧═════════════╧════════════╧══════════╝
If no predefined style fits your needs, you can use a...
To define a custom border style you need to specify all 15 character tiles used for the table rendering using one of the BorderStyle constructors.
For single-character tiles use the constructor:
new BorderStyle("1a234b567c89xyz")
This border style will generate a table like...
1aaaaaaaaa2aaaaaaaaaaa2aaaaaaaaaa2aaaaaaa3 xCountry y PopulationyArea (km2)yDensityz 4bbbbbbbbb5bbbbbbbbbbb5bbbbbbbbbb5bbbbbbb6 xChile y 17 000 000y 1 250 000y 13.60z xArgentinay 50 000 000y 3 000 000y 16.67z xBrasil y 80 000 000y 5 000 000y 16.00z 4bbbbbbbbb5bbbbbbbbbbb5bbbbbbbbbb5bbbbbbb6 xTotal y147 000 000y 9 250 000y 15.89z 7ccccccccc8ccccccccccc8cccccccccc8ccccccc9
For multi-character tiles use the constructor:
new BorderStyle("+=", "=", "==", "=+", "+=", "=", "==", "=+", "+=", "=", "==", "=+", "| ", " ", " |");
This border style will generate a table like...
+=============================================+ | Country Population Area (km2) Density | +=============================================+ | Chile 17 000 000 1 250 000 13.60 | | Argentina 50 000 000 3 000 000 16.67 | | Brasil 80 000 000 5 000 000 16.00 | +=============================================+ | Total 147 000 000 9 250 000 15.89 | +=============================================+
Use any tiles that fits your needs.
Constructor Summary | |
---|---|
BorderStyle(java.lang.String customStyle)
Specifies a border style with single-character tiles. |
|
BorderStyle(java.lang.String tLCorner,
java.lang.String top,
java.lang.String tCCorner,
java.lang.String tRCorner,
java.lang.String mLCorner,
java.lang.String middle,
java.lang.String mCCorner,
java.lang.String mRCorner,
java.lang.String bLCorner,
java.lang.String bottom,
java.lang.String bCCorner,
java.lang.String bRCorner,
java.lang.String left,
java.lang.String center,
java.lang.String right,
java.lang.String upperColSpan,
java.lang.String lowerColSpan)
Specifies a border style with multi-character tiles. |
Method Summary | |
---|---|
java.lang.String |
getBCCorner()
|
java.lang.String |
getBLCorner()
|
java.lang.String |
getBottom()
|
java.lang.String |
getBRCorner()
|
java.lang.String |
getCenter()
|
int |
getCenterWidth()
|
int |
getHorizontalWidth()
|
java.lang.String |
getLeft()
|
int |
getLeftWidth()
|
java.lang.String |
getLowerColSpan()
|
java.lang.String |
getMCCorner()
|
java.lang.String |
getMiddle()
|
java.lang.String |
getMLCorner()
|
java.lang.String |
getMRCorner()
|
java.lang.String |
getRight()
|
int |
getRightWidth()
|
java.lang.String |
getTCCorner()
|
java.lang.String |
getTLCorner()
|
java.lang.String |
getTop()
|
java.lang.String |
getTRCorner()
|
java.lang.String |
getUpperColSpan()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final BorderStyle DEMO
public static final BorderStyle BLANKS
public static final BorderStyle DOTS
public static final BorderStyle ASTERISKS
public static final BorderStyle HORIZONTAL_ONLY
public static final BorderStyle CLASSIC
public static final BorderStyle CLASSIC_WIDE
public static final BorderStyle CLASSIC_LIGHT
public static final BorderStyle CLASSIC_LIGHT_WIDE
public static final BorderStyle CLASSIC_COMPATIBLE
public static final BorderStyle CLASSIC_COMPATIBLE_WIDE
public static final BorderStyle CLASSIC_COMPATIBLE_LIGHT_WIDE
public static final BorderStyle HEAVY
public static final BorderStyle HEAVY_TOP_AND_BOTTOM
public static final BorderStyle DESIGN_FORMAL
public static final BorderStyle DESIGN_FORMAL_INVERSE
public static final BorderStyle DESIGN_CASUAL
public static final BorderStyle DESIGN_CAFE
public static final BorderStyle DESIGN_SLASH
public static final BorderStyle DESIGN_TUBES
public static final BorderStyle DESIGN_DOTS
public static final BorderStyle DESIGN_DIM
public static final BorderStyle DESIGN_CURTAIN
public static final BorderStyle DESIGN_CURTAIN_HEAVY
public static final BorderStyle DESIGN_PAPYRUS
public static final BorderStyle DESIGN_FORMAL_WIDE
public static final BorderStyle DESIGN_FORMAL_INVERSE_WIDE
public static final BorderStyle DESIGN_CASUAL_WIDE
public static final BorderStyle DESIGN_CAFE_WIDE
public static final BorderStyle DESIGN_SLASH_WIDE
public static final BorderStyle DESIGN_TUBES_WIDE
public static final BorderStyle DESIGN_DOTS_WIDE
public static final BorderStyle DESIGN_DIM_WIDE
public static final BorderStyle DESIGN_CURTAIN_WIDE
public static final BorderStyle DESIGN_CURTAIN_HEAVY_WIDE
public static final BorderStyle UNICODE_BOX
public static final BorderStyle UNICODE_ROUND_BOX
public static final BorderStyle UNICODE_HEAVY_BOX
public static final BorderStyle UNICODE_BOX_HEAVY_BORDER
public static final BorderStyle UNICODE_DOUBLE_BOX
public static final BorderStyle UNICODE_BOX_DOUBLE_BORDER
public static final BorderStyle UNICODE_BOX_WIDE
public static final BorderStyle UNICODE_ROUND_BOX_WIDE
public static final BorderStyle UNICODE_HEAVY_BOX_WIDE
public static final BorderStyle UNICODE_BOX_HEAVY_BORDER_WIDE
public static final BorderStyle UNICODE_DOUBLE_BOX_WIDE
public static final BorderStyle UNICODE_BOX_DOUBLE_BORDER_WIDE
Constructor Detail |
---|
public BorderStyle(java.lang.String tLCorner, java.lang.String top, java.lang.String tCCorner, java.lang.String tRCorner, java.lang.String mLCorner, java.lang.String middle, java.lang.String mCCorner, java.lang.String mRCorner, java.lang.String bLCorner, java.lang.String bottom, java.lang.String bCCorner, java.lang.String bRCorner, java.lang.String left, java.lang.String center, java.lang.String right, java.lang.String upperColSpan, java.lang.String lowerColSpan)
tLCorner
- Top left cornertop
- ToptCCorner
- Top center cornertRCorner
- Top right cornermLCorner
- Middle left cornermiddle
- MiddlemCCorner
- Middle center cornermRCorner
- Middle right cornerbLCorner
- Bottom left cornerbottom
- BottombCCorner
- Bottom center cornerbRCorner
- Bottom right cornerleft
- Leftcenter
- Centerright
- RightupperColSpan
- middle center corner for the upper border of a colspanlowerColSpan
- middle center corner for the lower border of a colspanpublic BorderStyle(java.lang.String customStyle)
customStyle
- 15-character String where every character is a tile, in the
following order: Method Detail |
---|
public java.lang.String getBCCorner()
public java.lang.String getBLCorner()
public java.lang.String getBottom()
public java.lang.String getBRCorner()
public java.lang.String getCenter()
public java.lang.String getLeft()
public java.lang.String getMCCorner()
public java.lang.String getMiddle()
public java.lang.String getMLCorner()
public java.lang.String getMRCorner()
public java.lang.String getRight()
public java.lang.String getTop()
public java.lang.String getTCCorner()
public java.lang.String getTLCorner()
public java.lang.String getTRCorner()
public java.lang.String getUpperColSpan()
public java.lang.String getLowerColSpan()
public int getLeftWidth()
public int getHorizontalWidth()
public int getCenterWidth()
public int getRightWidth()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |