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

Method setHeight

Singular/LIB/surfex/SaveMovieDialog.java:1164–1175  ·  view source on GitHub ↗
(double h)

Source from the content-addressed store, hash-verified

1162 }
1163
1164 public void setHeight(double h){
1165 if(measure.getSelectedIndex()==0){
1166 //pixel ist selektiert, d.h. keine Nachkommastellen anzeigen!
1167
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 }public void setWidth(double w){
1176 if(measure.getSelectedIndex()==0){
1177 //pixel ist selektiert, d.h. keine Nachkommastellen anzeigen!
1178

Callers 3

keyReleasedMethod · 0.95
actionPerformedMethod · 0.95
updateSizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected