Revision: 1279
Author:   mathiasbr
Date:     2006-08-07 09:28:21 -0700 (Mon, 07 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/spring-rich-c/?rev=1279&view=rev

Log Message:
-----------
added isVisible method to DialogPage

Modified Paths:
--------------
    
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/AbstractDialogPage.java
    
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/DialogPage.java
Modified: 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/AbstractDialogPage.java
===================================================================
--- 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/AbstractDialogPage.java
 2006-08-07 13:19:57 UTC (rev 1278)
+++ 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/AbstractDialogPage.java
 2006-08-07 16:28:21 UTC (rev 1279)
@@ -174,6 +174,10 @@
         getControl().setVisible(visible);
         firePropertyChange("visible", oldValue, visible);
     }
+    
+    public boolean isVisible() {
+        return getControl().isVisible();
+    }
 
     public boolean isPageComplete() {
         return pageComplete;

Modified: 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/DialogPage.java
===================================================================
--- 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/DialogPage.java
 2006-08-07 13:19:57 UTC (rev 1278)
+++ 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/DialogPage.java
 2006-08-07 16:28:21 UTC (rev 1279)
@@ -77,6 +77,13 @@
      *            <code>false</code> to hide it
      */
     public void setVisible(boolean visible);
+    
+    /**
+     * Returns the visibility of this dialog page.
+     * 
+     * @return <code>true</code> this page is visible, or <code>false</code> 
if this page is hidden
+     */
+    public boolean isVisible();
 
     /**
      * Returns whether this page is complete or not.


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to