|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.ui.Components
public final class Components
Utilities for working with Swing components.
Method Summary | |
---|---|
static javax.swing.JLayeredPane |
findLayeredPane(java.awt.Component target) Finds the layered pane for a component. |
static void |
moveCaretPositionCenter(javax.swing.text.JTextComponent c, int position) Moves the caret to a new position, leaving behind a mark defined by the last time setCaretPosition was called. |
static void |
setCaretPositionCenter(javax.swing.text.JTextComponent c, int position) Sets the position of the text insertion caret for the TextComponent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static javax.swing.JLayeredPane findLayeredPane(java.awt.Component target)
target
-public static void setCaretPositionCenter(javax.swing.text.JTextComponent c, int position)
setCaretPosition()
except that if the new caret position is offscreen, it recenters the new position vertically into the center of the parent view port.position
- the positionpublic static void moveCaretPositionCenter(javax.swing.text.JTextComponent c, int position)
setCaretPositionCenter
in that if the new position is offscreen, it recenters the new position vertically into the center of the parent view port.position
- the position
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |