(double h)
| 1163 | } |
| 1164 | |
| 1165 | public void setHeight(double h){ |
| 1166 | if(measure.getSelectedIndex()==0){ |
| 1167 | //pixel ist selektiert, d.h. keine Nachkommastellen anzeigen! |
| 1168 | height.setText(((int)h)+""); |
| 1169 | } else { |
| 1170 | // angabe in cm / inch: |
| 1171 | // bis zu acht stellen (mit komma ) anzeigen: |
| 1172 | height.setText((h+" ").substring(0,8).replaceAll(" ","")); |
| 1173 | } |
| 1174 | } |
| 1175 | |
| 1176 | public void setWidth(double w){ |
| 1177 | if(measure.getSelectedIndex()==0){ |
no outgoing calls
no test coverage detected