Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/forms/client/components/impls/input/FormImageSelectBadDataType.java

Diff revisions: vs.
  @@ -4,30 +4,26 @@
4 4 import org.litesoft.core.simpletypes.*;
5 5 import org.litesoft.uispecification.*;
6 6
7 - public class FormImageSelectBadDataType extends FormImageSelector
8 - {
7 + public class FormImageSelectBadDataType extends FormImageSelector {
9 8 private String mBadDataType;
10 9
11 - public FormImageSelectBadDataType( String pFieldLabel, UiFont pLabelFont, String pTooltip, String pBadDataType, Integer pInitialWidth, boolean pWidthNotStretchable, Integer pInitialHeight, boolean pHeightNotStretchable )
12 - {
10 + public FormImageSelectBadDataType( String pFieldLabel, UiFont pLabelFont, String pTooltip, String pBadDataType, Integer pInitialWidth,
11 + boolean pWidthNotStretchable, Integer pInitialHeight, boolean pHeightNotStretchable ) {
13 12 super( pFieldLabel, pLabelFont, pTooltip, true, pInitialWidth, pWidthNotStretchable, pInitialHeight, pHeightNotStretchable );
14 13 mBadDataType = pBadDataType;
15 14 }
16 15
17 16 @Override
18 - public Object getCurrentValue()
19 - {
17 + public Object getCurrentValue() {
20 18 return null;
21 19 }
22 20
23 21 @Override
24 - public void setCurrentValue( Object pNewValue )
25 - {
22 + public void setCurrentValue( Object pNewValue ) {
26 23 }
27 24
28 25 @Override
29 - protected void onAttach()
30 - {
26 + protected void onAttach() {
31 27 super.onAttach();
32 28 setCurrentResourceKeyNameURL( new ResourceKeyNameURL( null, "Bad data type: " + mBadDataType, "common/images/misc/tmp/BadDataType.jpg" ) );
33 29 }