|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TitledBorder | |
---|---|
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. |
Uses of TitledBorder in javax.swing |
---|
Methods in javax.swing that return TitledBorder | |
---|---|
static TitledBorder |
BorderFactory.createTitledBorder(Border border)
Creates a new titled border with an empty title, the specified border object, the default text position (sitting on the top line), the default justification (leading), and the default font and text color (determined by the current look and feel). |
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title)
Adds a title to an existing border, with default positioning (sitting on the top line), default justification (leading) and the default font and text color (determined by the current look and feel). |
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition)
Adds a title to an existing border, with the specified positioning and using the default font and text color (determined by the current look and feel). |
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont)
Adds a title to an existing border, with the specified positioning and font, and using the default text color (determined by the current look and feel). |
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor)
Adds a title to an existing border, with the specified positioning, font and color. |
static TitledBorder |
BorderFactory.createTitledBorder(String title)
Creates a new titled border with the specified title, the default border type (determined by the current look and feel), the default text position (sitting on the top line), the default justification (leading), and the default font and text color (determined by the current look and feel). |
Uses of TitledBorder in javax.swing.plaf |
---|
Subclasses of TitledBorder in javax.swing.plaf | |
---|---|
static class |
BorderUIResource.TitledBorderUIResource
|
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.