[isidorus-cvs] r551 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base isidorus
lgiessmann at common-lisp.net
lgiessmann at common-lisp.net
Fri Jul 1 20:42:50 UTC 2011
Author: lgiessmann
Date: Fri Jul 1 13:42:48 2011
New Revision: 551
Log:
gdl-frontend: Widgets: added the last method for setting gdl attributes on gdl:Visible-Object
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/LoadSchemaCallback.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Fri Jul 1 10:15:30 2011 (r550)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Fri Jul 1 13:42:48 2011 (r551)
@@ -1129,14 +1129,6 @@
}
- // sets the background-color style property of this element by using the GWT DOM class
- public void setBackgroundColor(ColorValue value){
- if(value != null){
- DOM.setStyleAttribute(this.getElement(), "backgroundColor", value.getCssValue());
- }
- }
-
-
// sets the id property of this element by using the GWT DOM class
public void setId(String id){
if(id != null){
@@ -1424,10 +1416,89 @@
}
}
+
+ // sets the width style property of this element by using the GWT DOM class
+ public void setWidth(AutoNumUnitValue value){
+ if(value != null){
+ DOM.setStyleAttribute(this.getElement(), "width", value.getCssValue());
+ }
+ }
+
+
+ // sets the min-width style property of this element by using the GWT DOM class
+ public void setMinWidth(AutoNumUnitValue value){
+ if(value != null){
+ DOM.setStyleAttribute(this.getElement(), "minWidth", value.getCssValue());
+ }
+ }
+
+
+ // sets the max-width style property of this element by using the GWT DOM class
+ public void setMaxWidth(AutoNumUnitValue value){
+ if(value != null){
+ DOM.setStyleAttribute(this.getElement(), "maxWidth", value.getCssValue());
+ }
+ }
+
+
+ // sets the height style property of this element by using the GWT DOM class
+ public void setHeight(AutoNumUnitValue value){
+ if(value != null){
+ DOM.setStyleAttribute(this.getElement(), "height", value.getCssValue());
+ }
+ }
+
+
+ // sets the min-height style property of this element by using the GWT DOM class
+ public void setMinHeight(AutoNumUnitValue value){
+ if(value != null){
+ DOM.setStyleAttribute(this.getElement(), "minHeight", value.getCssValue());
+ }
+ }
+
+
+ // sets the max-height style property of this element by using the GWT DOM class
+ public void setMaxHeight(AutoNumUnitValue value){
+ if(value != null){
+ DOM.setStyleAttribute(this.getElement(), "maxHeight", value.getCssValue());
+ }
+ }
+
+
+ // sets the cursor style property of this element by using the GWT DOM class
+ public void setCursor(CursorValue value){
+ if(value != null){
+ DOM.setStyleAttribute(this.getElement(), "cursor", value.getCssValue());
+ }
+ }
+
+
+ // sets the background-color style property of this element by using the GWT DOM class
+ public void setBackgroundColor(ColorValue value){
+ if(value != null){
+ DOM.setStyleAttribute(this.getElement(), "backgroundColor", value.getCssValue());
+ }
+ }
+
+
+ // sets the overflow style property of this element by using the GWT DOM class
+ public void setOverflow(Overflow value){
+ if(value != null){
+ DOM.setStyleAttribute(this.getElement(), "overlof", value.getCssName());
+ }
+ }
+
+
+
+
+
// TODO: handle styleClass in the setterMethods
+
+
+
public void setGdlStyle(){
// TODO: implement
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/LoadSchemaCallback.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/LoadSchemaCallback.java Fri Jul 1 10:15:30 2011 (r550)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/LoadSchemaCallback.java Fri Jul 1 13:42:48 2011 (r551)
@@ -9,7 +9,6 @@
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.Response;
import com.google.gwt.http.client.URL;
-import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Window;
import us.isidor.gdl.anaToMia.Widgets.base.ButtonDialog;
import us.isidor.gdl.anaToMia.Widgets.base.GdlPanel;
More information about the Isidorus-cvs
mailing list