Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -1,30 +1,30 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.forms.client.components.impls.input;
3 -
4 - import org.litesoft.core.simpletypes.*;
5 - import org.litesoft.uispecification.*;
6 -
7 - public class FormImageSelectBadDataType extends FormImageSelector {
8 - private String mBadDataType;
9 -
10 - public FormImageSelectBadDataType( String pFieldLabel, UiFont pLabelFont, String pTooltip, String pBadDataType, Integer pInitialWidth,
11 - boolean pWidthNotStretchable, Integer pInitialHeight, boolean pHeightNotStretchable ) {
12 - super( pFieldLabel, pLabelFont, pTooltip, true, pInitialWidth, pWidthNotStretchable, pInitialHeight, pHeightNotStretchable );
13 - mBadDataType = pBadDataType;
14 - }
15 -
16 - @Override
17 - public Object getCurrentValue() {
18 - return null;
19 - }
20 -
21 - @Override
22 - public void setCurrentValue( Object pNewValue ) {
23 - }
24 -
25 - @Override
26 - protected void onAttach() {
27 - super.onAttach();
28 - setCurrentResourceKeyNameURL( new ResourceKeyNameURL( null, "Bad data type: " + mBadDataType, "common/images/misc/tmp/BadDataType.jpg" ) );
29 - }
30 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.forms.client.components.impls.input;
3 +
4 + import org.litesoft.core.simpletypes.*;
5 + import org.litesoft.uispecification.*;
6 +
7 + public class FormImageSelectBadDataType extends FormImageSelector {
8 + private String mBadDataType;
9 +
10 + public FormImageSelectBadDataType( String pFieldLabel, UiFont pLabelFont, String pTooltip, String pBadDataType, Integer pInitialWidth,
11 + boolean pWidthNotStretchable, Integer pInitialHeight, boolean pHeightNotStretchable ) {
12 + super( pFieldLabel, pLabelFont, pTooltip, true, pInitialWidth, pWidthNotStretchable, pInitialHeight, pHeightNotStretchable );
13 + mBadDataType = pBadDataType;
14 + }
15 +
16 + @Override
17 + public Object getCurrentValue() {
18 + return null;
19 + }
20 +
21 + @Override
22 + public void setCurrentValue( Object pNewValue ) {
23 + }
24 +
25 + @Override
26 + protected void onAttach() {
27 + super.onAttach();
28 + setCurrentResourceKeyNameURL( new ResourceKeyNameURL( null, "Bad data type: " + mBadDataType, "common/images/misc/tmp/BadDataType.jpg" ) );
29 + }
30 + }