Lines Matching refs:title

47  * with the addition of a String title in a
77 * The title the border should display.
79 protected String title;
85 * The position for the title.
89 * The justification for the title.
93 * The font for rendering the title.
97 * The color of the title.
104 * Use the default vertical orientation for the title text.
107 /** Position the title above the border's top line. */
109 /** Position the title in the middle of the border's top line. */
111 /** Position the title below the border's top line. */
113 /** Position the title above the border's bottom line. */
115 /** Position the title in the middle of the border's bottom line. */
117 /** Position the title below the border's bottom line. */
121 * Use the default justification for the title text.
124 /** Position title text at the left side of the border line. */
126 /** Position title text in the center of the border line. */
128 /** Position title text at the right side of the border line. */
130 /** Position title text at the left side of the border line
135 /** Position title text at the right side of the border line
159 * @param title the title the border should display
161 public TitledBorder(String title) {
162 this(null, title, LEADING, DEFAULT_POSITION, null, null);
167 * and an empty title.
177 * and title.
180 * @param title the title the border should display
182 public TitledBorder(Border border, String title) {
183 this(border, title, LEADING, DEFAULT_POSITION, null, null);
188 * title, title-justification, and title-position.
191 * @param title the title the border should display
192 * @param titleJustification the justification for the title
193 * @param titlePosition the position for the title
196 String title,
199 this(border, title, titleJustification,
205 * title, title-justification, title-position, and title-font.
208 * @param title the title the border should display
209 * @param titleJustification the justification for the title
210 * @param titlePosition the position for the title
211 * @param titleFont the font for rendering the title
214 String title,
218 this(border, title, titleJustification,
224 * title, title-justification, title-position, title-font, and
225 * title-color.
228 * @param title the title the border should display
229 * @param titleJustification the justification for the title
230 * @param titlePosition the position for the title
231 * @param titleFont the font of the title
232 * @param titleColor the color of the title
234 @ConstructorProperties({"border", "title", "titleJustification", "titlePosition", "titleFont", "titleColor"})
236 String title,
241 this.title = title;
267 String title = getTitle();
268 if ((title != null) && !title.isEmpty()) {
380 String title = getTitle();
381 if ((title != null) && !title.isEmpty()) {
428 * Returns the title of the titled border.
430 * @return the title of the titled border
433 return title;
448 * Returns the title-position of the titled border.
450 * @return the title-position of the titled border
457 * Returns the title-justification of the titled border.
459 * @return the title-justification of the titled border
466 * Returns the title-font of the titled border.
468 * @return the title-font of the titled border
475 * Returns the title-color of the titled border.
477 * @return the title-color of the titled border
487 * Sets the title of the titled border.
488 * @param title the title for the border
490 public void setTitle(String title) {
491 this.title = title;
503 * Sets the title-position of the titled border.
519 " is not a valid title position.");
524 * Sets the title-justification of the titled border.
539 " is not a valid title justification.");
544 * Sets the title-font of the titled border.
545 * @param titleFont the font for the border title
552 * Sets the title-color of the titled border.
553 * @param titleColor the color for the border title
561 * in order to fully display the border and title.
569 String title = getTitle();
570 if ((title != null) && !title.isEmpty()) {
604 String title = getTitle();
605 if ((title != null) && !title.isEmpty()) {