mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 22:47:13 -06:00
AnimatedPainter: support individual animation duration, resolution and interpolator depending on value(s)
This commit is contained in:
@@ -171,7 +171,7 @@ public class FlatAnimatedBorderTest
|
||||
add(durationLabel, "cell 0 11");
|
||||
|
||||
//---- durationField ----
|
||||
durationField.setModel(new SpinnerNumberModel(200, 100, null, 50));
|
||||
durationField.setModel(new SpinnerNumberModel(200, 0, null, 50));
|
||||
add(durationField, "cell 0 11");
|
||||
// JFormDesigner - End of component initialization //GEN-END:initComponents
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@ new FormModel {
|
||||
add( new FormComponent( "javax.swing.JSpinner" ) {
|
||||
name: "durationField"
|
||||
"model": new javax.swing.SpinnerNumberModel {
|
||||
minimum: 100
|
||||
minimum: 0
|
||||
stepSize: 50
|
||||
value: 200
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ public class FlatAnimatedIconTest
|
||||
add(durationLabel, "cell 0 7 3 1");
|
||||
|
||||
//---- durationField ----
|
||||
durationField.setModel(new SpinnerNumberModel(200, 100, null, 50));
|
||||
durationField.setModel(new SpinnerNumberModel(200, 0, null, 50));
|
||||
add(durationField, "cell 0 7 3 1");
|
||||
|
||||
//---- buttonGroup1 ----
|
||||
|
||||
@@ -88,7 +88,7 @@ new FormModel {
|
||||
add( new FormComponent( "javax.swing.JSpinner" ) {
|
||||
name: "durationField"
|
||||
"model": new javax.swing.SpinnerNumberModel {
|
||||
minimum: 100
|
||||
minimum: 0
|
||||
stepSize: 50
|
||||
value: 200
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user