Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.db.util
Class LiveValidationController

java.lang.Object
  extended by oracle.ide.db.util.LiveValidationController

public class LiveValidationController
extends java.lang.Object

Class to control a popup validation message to appear alongside a component if its contents are invalid.


Constructor Summary
LiveValidationController(javax.swing.JComponent comp)
           
 
Method Summary
 void hidePopup()
          Explicitly hides the popup if there is one.
 void setXOffset(int x)
          Offset in pixels for the x-coordinate of the message from the far right of the component.
 void setyOffset(int y)
          Offset in pixels for the y-coordinate of the message from the top of the component.
 void showError(java.lang.String error)
          Displays a popup containing the given error message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveValidationController

public LiveValidationController(javax.swing.JComponent comp)
Method Detail

setXOffset

public void setXOffset(int x)
Offset in pixels for the x-coordinate of the message from the far right of the component. Default is 10.


setyOffset

public void setyOffset(int y)
Offset in pixels for the y-coordinate of the message from the top of the component. Default is 2.


hidePopup

public void hidePopup()
Explicitly hides the popup if there is one.


showError

public void showError(java.lang.String error)
Displays a popup containing the given error message. If the message is null or empty any existing popup will be removed.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.