Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.geom |
Provides the Java 2D classes for defining and performing operations
on objects related to two-dimensional geometry.
|
java.beans |
Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture.
|
java.lang.management |
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
|
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.border |
Provides classes and interface for drawing
specialized borders around a Swing component.
|
javax.swing.plaf |
Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities.
|
javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree . |
Constructor and Description |
---|
BasicStroke(float width,
int cap,
int join,
float miterlimit,
float[] dash,
float dash_phase)
Constructs a new
BasicStroke with the specified
attributes. |
Color(int r,
int g,
int b,
int a)
Creates an sRGB color with the specified red, green, blue, and alpha
values in the range (0 - 255).
|
Cursor(int type)
Creates a new cursor object with the specified type.
|
GradientPaint(Point2D pt1,
Color color1,
Point2D pt2,
Color color2,
boolean cyclic)
Constructs either a cyclic or acyclic
GradientPaint
object depending on the boolean parameter. |
LinearGradientPaint(Point2D start,
Point2D end,
float[] fractions,
Color[] colors,
MultipleGradientPaint.CycleMethod cycleMethod,
MultipleGradientPaint.ColorSpaceType colorSpace,
AffineTransform gradientTransform)
Constructs a
LinearGradientPaint . |
RadialGradientPaint(Point2D center,
float radius,
Point2D focus,
float[] fractions,
Color[] colors,
MultipleGradientPaint.CycleMethod cycleMethod,
MultipleGradientPaint.ColorSpaceType colorSpace,
AffineTransform gradientTransform)
Constructs a
RadialGradientPaint . |
ScrollPane(int scrollbarDisplayPolicy)
Create a new scrollpane container.
|
Constructor and Description |
---|
AffineTransform(float m00,
float m10,
float m01,
float m11,
float m02,
float m12)
Constructs a new
AffineTransform from 6 floating point
values representing the 6 specifiable entries of the 3x3
transformation matrix. |
Constructor and Description |
---|
EventHandler(Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates a new
EventHandler object;
you generally use one of the create methods
instead of invoking this constructor directly. |
Expression(Object target,
String methodName,
Object[] arguments)
Creates a new
Expression object
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
Statement(Object target,
String methodName,
Object[] arguments)
Creates a new
Statement object
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
Constructor and Description |
---|
LockInfo(String className,
int identityHashCode)
Constructs a LockInfo object.
|
Constructor and Description |
---|
Box.Filler(Dimension min,
Dimension pref,
Dimension max)
Constructor to create shape with the given size ranges.
|
BoxLayout(Container target,
int axis)
Creates a layout manager that will lay out components along the
given axis.
|
DefaultCellEditor(JTextField textField)
Constructs a
DefaultCellEditor that uses a text field. |
ImageIcon(String filename)
Creates an ImageIcon from the specified file.
|
JButton(String text)
Creates a button with text.
|
JSplitPane(int newOrientation)
Creates a new
JSplitPane configured with the
specified orientation. |
JTree(TreeModel newModel)
Returns an instance of
JTree which displays the root node
-- the tree is created using the specified data model. |
OverlayLayout(Container target)
Constructs a layout manager that performs overlay
arrangement of the children.
|
Constructor and Description |
---|
BevelBorder(int bevelType,
Color highlightOuterColor,
Color highlightInnerColor,
Color shadowOuterColor,
Color shadowInnerColor)
Creates a bevel border with the specified type, highlight and
shadow colors.
|
CompoundBorder(Border outsideBorder,
Border insideBorder)
Creates a compound border with the specified outside and
inside borders.
|
EmptyBorder(Insets borderInsets)
Creates an empty border with the specified insets.
|
EtchedBorder(int etchType,
Color highlight,
Color shadow)
Creates an etched border with the specified etch-type,
highlight and shadow colors.
|
LineBorder(Color color,
int thickness,
boolean roundedCorners)
Creates a line border with the specified color, thickness,
and corner shape.
|
SoftBevelBorder(int bevelType,
Color highlightOuterColor,
Color highlightInnerColor,
Color shadowOuterColor,
Color shadowInnerColor)
Creates a bevel border with the specified type, highlight
shadow colors.
|
StrokeBorder(BasicStroke stroke,
Paint paint)
Creates a border of the specified
stroke and paint . |
TitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor)
Creates a TitledBorder instance with the specified border,
title, title-justification, title-position, title-font, and
title-color.
|
Constructor and Description |
---|
BorderUIResource.BevelBorderUIResource(int bevelType,
Color highlightOuter,
Color highlightInner,
Color shadowOuter,
Color shadowInner) |
BorderUIResource.CompoundBorderUIResource(Border outsideBorder,
Border insideBorder) |
BorderUIResource.EmptyBorderUIResource(Insets insets) |
BorderUIResource.EtchedBorderUIResource(int etchType,
Color highlight,
Color shadow) |
BorderUIResource.LineBorderUIResource(Color color,
int thickness) |
BorderUIResource.TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor) |
ColorUIResource(int r,
int g,
int b) |
Constructor and Description |
---|
DefaultTreeModel(TreeNode root)
Creates a tree in which any node can have children.
|
TreePath(Object[] path)
Creates a
TreePath from an array. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.