litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/forms/client/nonpublic/FormComponentAdapter.java
|
@@ -1,24 +1,24 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.forms.client.nonpublic; |
3 |
|
- |
|
4 |
|
- |
import org.litesoft.core.util.*; |
5 |
|
- |
import org.litesoft.logger.*; |
6 |
|
- |
|
7 |
|
- |
/** |
8 |
|
- |
* Form Components support both Enablement and Disablement. |
9 |
|
- |
* <p/> |
10 |
|
- |
* Disablement is from the ServicePeer and takes precedence over Enablement. |
11 |
|
- |
* So, for the Form Component to be enabled, it must be both Enabled (the Default), |
12 |
|
- |
* AND not Disabled (also the Default). |
13 |
|
- |
*/ |
14 |
|
- |
public interface FormComponentAdapter extends Disableable, |
15 |
|
- |
Enableable { |
16 |
|
- |
public static final Logger LOGGER = LoggerFactory.getLogger( FormComponentAdapter.class ); |
17 |
|
- |
|
18 |
|
- |
boolean isVisible(); |
19 |
|
- |
|
20 |
|
- |
/** |
21 |
|
- |
* @return true if could setFocus |
22 |
|
- |
*/ |
23 |
|
- |
boolean setFocus(); |
24 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.forms.client.nonpublic; |
|
3 |
+ |
|
|
4 |
+ |
import org.litesoft.core.util.*; |
|
5 |
+ |
import org.litesoft.logger.*; |
|
6 |
+ |
|
|
7 |
+ |
/** |
|
8 |
+ |
* Form Components support both Enablement and Disablement. |
|
9 |
+ |
* <p/> |
|
10 |
+ |
* Disablement is from the ServicePeer and takes precedence over Enablement. |
|
11 |
+ |
* So, for the Form Component to be enabled, it must be both Enabled (the Default), |
|
12 |
+ |
* AND not Disabled (also the Default). |
|
13 |
+ |
*/ |
|
14 |
+ |
public interface FormComponentAdapter extends Disableable, |
|
15 |
+ |
Enableable { |
|
16 |
+ |
public static final Logger LOGGER = LoggerFactory.getLogger( FormComponentAdapter.class ); |
|
17 |
+ |
|
|
18 |
+ |
boolean isVisible(); |
|
19 |
+ |
|
|
20 |
+ |
/** |
|
21 |
+ |
* @return true if could setFocus |
|
22 |
+ |
*/ |
|
23 |
+ |
boolean setFocus(); |
|
24 |
+ |
} |