|
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
javax.swing.border.AbstractBorder
oracle.javatools.ui.search.SearchFieldBorder
public final class SearchFieldBorder
A custom border used for a search field.
Constructor Summary | |
---|---|
SearchFieldBorder() |
Method Summary | |
---|---|
java.awt.Color |
getBackground() Returns the color of the background. |
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
java.awt.Insets |
getBorderInsets(java.awt.Component c, java.awt.Insets insets) |
java.awt.Color |
getForeground() Returns the color of the foreground. |
boolean |
isBorderOpaque() |
static void |
main(java.lang.String[] args) |
void |
paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height) |
void |
setBackground(java.awt.Color background) Sets the color of the background. |
void |
setForeground(java.awt.Color foreground) Sets the foreground color. |
Methods inherited from class javax.swing.border.AbstractBorder |
---|
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchFieldBorder()
Method Detail |
---|
public void setForeground(java.awt.Color foreground)
foreground
- the color of the foreground. Must not be null.public java.awt.Color getForeground()
public void setBackground(java.awt.Color background)
background
- the background color. Must not be null.public java.awt.Color getBackground()
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
paintBorder
in interface javax.swing.border.Border
paintBorder
in class javax.swing.border.AbstractBorder
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
getBorderInsets
in class javax.swing.border.AbstractBorder
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
getBorderInsets
in class javax.swing.border.AbstractBorder
public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border
isBorderOpaque
in class javax.swing.border.AbstractBorder
public static void main(java.lang.String[] args)
|
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 |