MCPcopy Create free account
hub / github.com/rambaut/figtree / setMaximumFractionDigits

Method setMaximumFractionDigits

src/figtree/ui/PercentFormat.java:104–107  ·  view source on GitHub ↗

Sets the maximum number of digits allowed in the fraction portion of a number. maximumFractionDigits must be >= minimumFractionDigits. If the new value for maximumFractionDigits is less than the current value of minimumFractionDigits, then minimumFractionDigits will also be set to the new value. @

(int newValue)

Source from the content-addressed store, hash-verified

102 * @see #getMaximumFractionDigits
103 */
104 @Override
105 public void setMaximumFractionDigits(int newValue) {
106 nf.setMaximumFractionDigits(newValue);
107 }
108
109 /**
110 * Sets the minimum number of digits allowed in the integer portion of a

Callers 6

actionPerformedMethod · 0.80
stateChangedMethod · 0.80
actionPerformedMethod · 0.80
stateChangedMethod · 0.80
stateChangedMethod · 0.80
stateChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected