public class Borders extends Object
joinLinesWithFrame(..)
.Modifier and Type | Method | Description |
---|---|---|
static Border |
doubleLine() |
Creates a
Border that is drawn as a solid color double line surrounding the wrapped component |
static Border |
doubleLine(String title) |
Creates a
Border that is drawn as a solid color double line surrounding the wrapped component with a
title string normally drawn at the top-left side |
static Border |
doubleLineBevel() |
Creates a
Border that is drawn as a bevel color double line surrounding the wrapped component |
static Border |
doubleLineBevel(String title) |
Creates a
Border that is drawn as a bevel color double line surrounding the wrapped component with a
title string normally drawn at the top-left side |
static Border |
doubleLineReverseBevel() |
Creates a
Border that is drawn as a reverse bevel color double line surrounding the wrapped component |
static Border |
doubleLineReverseBevel(String title) |
Creates a
Border that is drawn as a reverse bevel color double line surrounding the wrapped component
with a title string normally drawn at the top-left side |
static void |
joinLinesWithFrame(TextGraphics graphics) |
This method will attempt to join line drawing characters with the outermost bottom and top rows and left and
right columns.
|
static Border |
singleLine() |
Creates a
Border that is drawn as a solid color single line surrounding the wrapped component |
static Border |
singleLine(String title) |
Creates a
Border that is drawn as a solid color single line surrounding the wrapped component with a
title string normally drawn at the top-left side |
static Border |
singleLineBevel() |
Creates a
Border that is drawn as a bevel color single line surrounding the wrapped component |
static Border |
singleLineBevel(String title) |
Creates a
Border that is drawn as a bevel color single line surrounding the wrapped component with a
title string normally drawn at the top-left side |
static Border |
singleLineReverseBevel() |
Creates a
Border that is drawn as a reverse bevel color single line surrounding the wrapped component |
static Border |
singleLineReverseBevel(String title) |
Creates a
Border that is drawn as a reverse bevel color single line surrounding the wrapped component
with a title string normally drawn at the top-left side |
public static Border singleLine()
Border
that is drawn as a solid color single line surrounding the wrapped componentBorder
public static Border singleLine(String title)
Border
that is drawn as a solid color single line surrounding the wrapped component with a
title string normally drawn at the top-left sidetitle
- The title to draw on the borderBorder
with a titlepublic static Border singleLineBevel()
Border
that is drawn as a bevel color single line surrounding the wrapped componentBorder
public static Border singleLineBevel(String title)
Border
that is drawn as a bevel color single line surrounding the wrapped component with a
title string normally drawn at the top-left sidetitle
- The title to draw on the borderBorder
with a titlepublic static Border singleLineReverseBevel()
Border
that is drawn as a reverse bevel color single line surrounding the wrapped componentBorder
public static Border singleLineReverseBevel(String title)
Border
that is drawn as a reverse bevel color single line surrounding the wrapped component
with a title string normally drawn at the top-left sidetitle
- The title to draw on the borderBorder
with a titlepublic static Border doubleLine()
Border
that is drawn as a solid color double line surrounding the wrapped componentBorder
public static Border doubleLine(String title)
Border
that is drawn as a solid color double line surrounding the wrapped component with a
title string normally drawn at the top-left sidetitle
- The title to draw on the borderBorder
with a titlepublic static Border doubleLineBevel()
Border
that is drawn as a bevel color double line surrounding the wrapped componentBorder
public static Border doubleLineBevel(String title)
Border
that is drawn as a bevel color double line surrounding the wrapped component with a
title string normally drawn at the top-left sidetitle
- The title to draw on the borderBorder
with a titlepublic static Border doubleLineReverseBevel()
Border
that is drawn as a reverse bevel color double line surrounding the wrapped componentBorder
public static Border doubleLineReverseBevel(String title)
Border
that is drawn as a reverse bevel color double line surrounding the wrapped component
with a title string normally drawn at the top-left sidetitle
- The title to draw on the borderBorder
with a titlepublic static void joinLinesWithFrame(TextGraphics graphics)
graphics
- Graphics to use when inspecting and joining charactersCopyright © 2020. All rights reserved.