mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-24 22:40:47 +00:00
Simple editor - filters - gradient editation
This commit is contained in:
@@ -16,11 +16,13 @@
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.gui.generictageditors;
|
||||
|
||||
import com.jpexs.decompiler.flash.easygui.properties.PropertyEditor;
|
||||
|
||||
/**
|
||||
* @author JPEXS
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface ChangeListener {
|
||||
|
||||
public void change(GenericTagEditor editor);
|
||||
public void change(PropertyEditor editor);
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.gui.generictageditors;
|
||||
|
||||
import com.jpexs.decompiler.flash.easygui.properties.PropertyEditor;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.helpers.Helper;
|
||||
import com.jpexs.helpers.ReflectionTools;
|
||||
@@ -24,8 +25,6 @@ import java.awt.Dimension;
|
||||
import java.awt.event.FocusAdapter;
|
||||
import java.awt.event.FocusEvent;
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import javax.swing.JTextField;
|
||||
|
||||
@@ -120,7 +119,7 @@ public class FloatEditor extends JTextField implements GenericTagEditor {
|
||||
|
||||
@Override
|
||||
public void addChangeListener(final ChangeListener l) {
|
||||
final GenericTagEditor t = this;
|
||||
final PropertyEditor t = this;
|
||||
addFocusListener(new FocusAdapter() {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -16,20 +16,15 @@
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.gui.generictageditors;
|
||||
|
||||
import com.jpexs.decompiler.flash.easygui.properties.PropertyEditor;
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
/**
|
||||
* @author JPEXS
|
||||
*/
|
||||
public interface GenericTagEditor {
|
||||
public interface GenericTagEditor extends PropertyEditor {
|
||||
|
||||
public void added();
|
||||
|
||||
public void reset();
|
||||
|
||||
public boolean save();
|
||||
|
||||
public void addChangeListener(ChangeListener l);
|
||||
public void added();
|
||||
|
||||
public Object getChangedValue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user