MCPcopy Create free account
hub / github.com/Singular/Singular / setHeight

Method setHeight

Singular/LIB/surfex/SavePicDialog.java:1165–1174  ·  view source on GitHub ↗
(double h)

Source from the content-addressed store, hash-verified

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){

Callers 3

keyReleasedMethod · 0.95
actionPerformedMethod · 0.95
updateSizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected