|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.ui.Borders
public final class Borders
Borders provides utilities for attaching error and warning borders to Swing components.
Method Summary | |
---|---|
static void |
attachBorder(javax.swing.JComponent component, java.awt.Color outer, java.awt.Color inner) |
static void |
attachErrorBorder(javax.swing.JComponent component) Attaches an error border to the specified component. |
static void |
attachWarningBorder(javax.swing.JComponent component) Attaches a warning border to the specified component. |
static void |
restoreBorder(javax.swing.JComponent component) Restores the original border of a component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void attachErrorBorder(javax.swing.JComponent component)
component
- a component to attach an error border to. Must not be null.java.lang.NullPointerException
- if component is null.public static void attachWarningBorder(javax.swing.JComponent component)
component
- a component to attach a warning border to. Must not be null.java.lang.NullPointerException
- if component is null.public static void attachBorder(javax.swing.JComponent component, java.awt.Color outer, java.awt.Color inner)
public static void restoreBorder(javax.swing.JComponent component)
attachErrorBorder(JComponent)
or attachWarningBorder(JComponent)
will have no effect.component
- a component to restore the border for. Must not be null.java.lang.NullPointerException
- if component is null.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |