mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 14:37:13 -06:00
AnimatedPainter:
- renamed `getValues()` to `getAnimatableValues()` - renamed `getClientPropertyKey()` to `getAnimationClientPropertyKey()` - AnimatedPainterSupport improvements
This commit is contained in:
@@ -244,7 +244,7 @@ public class FlatAnimatedBorderTest
|
||||
}
|
||||
|
||||
@Override
|
||||
public float[] getValues( Component c ) {
|
||||
public float[] getAnimatableValues( Component c ) {
|
||||
return new float[] { FlatUIUtils.isPermanentFocusOwner( c ) ? 1 : 0 };
|
||||
}
|
||||
|
||||
@@ -315,7 +315,7 @@ public class FlatAnimatedBorderTest
|
||||
}
|
||||
|
||||
@Override
|
||||
public float[] getValues( Component c ) {
|
||||
public float[] getAnimatableValues( Component c ) {
|
||||
return new float[] { FlatUIUtils.isPermanentFocusOwner( c ) ? 1 : 0 };
|
||||
}
|
||||
|
||||
@@ -416,7 +416,7 @@ public class FlatAnimatedBorderTest
|
||||
}
|
||||
|
||||
@Override
|
||||
public float[] getValues( Component c ) {
|
||||
public float[] getAnimatableValues( Component c ) {
|
||||
return new float[] { FlatUIUtils.isPermanentFocusOwner( c ) ? 1 : 0 };
|
||||
}
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ public class FlatAnimatedIconTest
|
||||
}
|
||||
|
||||
@Override
|
||||
public float[] getValues( Component c ) {
|
||||
public float[] getAnimatableValues( Component c ) {
|
||||
return new float[] { ((JRadioButton)c).isSelected() ? 1 : 0 };
|
||||
}
|
||||
|
||||
@@ -266,7 +266,7 @@ public class FlatAnimatedIconTest
|
||||
}
|
||||
|
||||
@Override
|
||||
public float[] getValues( Component c ) {
|
||||
public float[] getAnimatableValues( Component c ) {
|
||||
return new float[] { ((AbstractButton)c).isSelected() ? 1 : 0 };
|
||||
}
|
||||
|
||||
@@ -342,7 +342,7 @@ public class FlatAnimatedIconTest
|
||||
}
|
||||
|
||||
@Override
|
||||
public float[] getValues( Component c ) {
|
||||
public float[] getAnimatableValues( Component c ) {
|
||||
AbstractButton b = (AbstractButton) c;
|
||||
ButtonModel bm = b.getModel();
|
||||
|
||||
@@ -392,7 +392,7 @@ public class FlatAnimatedIconTest
|
||||
}
|
||||
|
||||
@Override
|
||||
public float[] getValues( Component c ) {
|
||||
public float[] getAnimatableValues( Component c ) {
|
||||
return new float[] { ((AbstractButton)c).isSelected() ? 1 : 0 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user