Skip to content

Commit

Permalink
Modify "ShadowDesigner" to "EffectDesigner"
Browse files Browse the repository at this point in the history
  • Loading branch information
leewyatt committed Oct 19, 2023
1 parent 57c141a commit d5b584c
Show file tree
Hide file tree
Showing 37 changed files with 102 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.dlsc.jfxcentral2.utilities.cssplayground.CssPlaygroundView;
import com.dlsc.jfxcentral2.utilities.paintpicker.GradientDesignerView;
import com.dlsc.jfxcentral2.utilities.pathextractor.SVGPathExtractorView;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.ShadowDesignerView;
import com.dlsc.jfxcentral2.utilities.effectdesigner.EffectDesignerView;
import com.dlsc.jfxcentral2.utils.ModelObjectTool;
import javafx.scene.Node;
import javafx.scene.control.Label;
Expand Down Expand Up @@ -65,13 +65,13 @@ private Node createToolPane(Utility model) {
setIcon(Material2OutlinedAL.COLOR_LENS);
getStyleClass().add("gradient-designer-overview-box");
return new GradientDesignerView(sizeProperty());
} else if (StringUtils.equalsIgnoreCase(model.getId(), "shadowdesigner")){
setTitle("Shadow Designer");
} else if (StringUtils.equalsIgnoreCase(model.getId(), "effectdesigner")){
setTitle("Effect Designer");
setIcon(SimpleLineIcons.MAGIC_WAND);
getStyleClass().add("shadow-designer-overview-box");
ShadowDesignerView shadowDesignerView = new ShadowDesignerView();
shadowDesignerView.sizeProperty().bind(sizeProperty());
return shadowDesignerView;
getStyleClass().add("effect-designer-overview-box");
EffectDesignerView effectDesignerView = new EffectDesignerView();
effectDesignerView.sizeProperty().bind(sizeProperty());
return effectDesignerView;
}

return createComingSoonPane();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner;
package com.dlsc.jfxcentral2.utilities.effectdesigner;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner;
package com.dlsc.jfxcentral2.utilities.effectdesigner;

import com.dlsc.jfxcentral2.utilities.paintpicker.impl.PaintConvertUtil;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.BlendBottomInput;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.BlendTopInput;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.LightingBumpInput;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.LightingContentInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.BlendBottomInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.BlendTopInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.LightingBumpInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.LightingContentInput;
import com.dlsc.jfxcentral2.utils.NumberUtil;
import com.dlsc.jfxcentral2.utils.StringUtil;
import javafx.scene.effect.Blend;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner;
package com.dlsc.jfxcentral2.utilities.effectdesigner;

import com.dlsc.jfxcentral2.components.PaneBase;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.BlendBottomInputEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.BlendTopInputEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.BloomEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.BoxBlurEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.ColorAdjustEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.ColorInputEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.DisplacementMapEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.DropShadowEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.GaussianBlurEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.GlowEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.ImageInputEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.InnerShadowEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.LightingBumpInputEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.LightingContentInputEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.MotionBlurEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.PerspectiveTransformEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.ReflectionEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.SepiaToneEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.editor.ShadowEditor;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.BlendBottomInput;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.BlendTopInput;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.LightingBumpInput;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.LightingContentInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.BlendBottomInputEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.BlendTopInputEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.BloomEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.BoxBlurEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.ColorAdjustEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.ColorInputEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.DisplacementMapEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.DropShadowEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.GaussianBlurEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.GlowEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.ImageInputEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.InnerShadowEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.LightingBumpInputEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.LightingContentInputEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.MotionBlurEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.PerspectiveTransformEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.ReflectionEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.SepiaToneEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.editor.ShadowEditor;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.BlendBottomInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.BlendTopInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.LightingBumpInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.LightingContentInput;
import javafx.beans.InvalidationListener;
import javafx.geometry.Pos;
import javafx.scene.Node;
Expand All @@ -48,10 +48,10 @@
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VBox;

public class ShadowDesignerView extends PaneBase {
public class EffectDesignerView extends PaneBase {

public ShadowDesignerView() {
getStyleClass().add("shadow-designer-view");
public EffectDesignerView() {
getStyleClass().add("effect-designer-view");
setAlignment(Pos.TOP_LEFT);

StackPane previewPane = new StackPane();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner;
package com.dlsc.jfxcentral2.utilities.effectdesigner;

import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.BlendBottomInput;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.BlendTopInput;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.LightingBumpInput;
import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.LightingContentInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.BlendBottomInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.BlendTopInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.LightingBumpInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.LightingContentInput;
import javafx.scene.effect.Bloom;
import javafx.scene.effect.BoxBlur;
import javafx.scene.effect.ColorAdjust;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner;
package com.dlsc.jfxcentral2.utilities.effectdesigner;

import com.dlsc.jfxcentral2.components.CustomToggleButton;
import com.dlsc.jfxcentral2.utils.IkonUtil;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.BlendBottomInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.BlendBottomInput;

public class BlendBottomInputEditor extends BlendEditor {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.Blend;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utilities.shadowdesigner.effect.BlendTopInput;
import com.dlsc.jfxcentral2.utilities.effectdesigner.effect.BlendTopInput;

public class BlendTopInputEditor extends BlendEditor {
public BlendTopInputEditor(BlendTopInput effect, Runnable deleteAction) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.Bloom;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.BoxBlur;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.ColorAdjust;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.ColorInput;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.DisplacementMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.BlurType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.gemsfx.Spacer;
import com.dlsc.jfxcentral2.utils.IkonUtil;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.components.FileHandlerView;
import com.dlsc.jfxcentral2.utilities.paintpicker.impl.PaintPicker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import javafx.scene.Node;
import org.kordamp.ikonli.Ikon;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.GaussianBlur;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.Glow;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.ImageInput;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.BlurType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import javafx.scene.effect.Lighting;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import javafx.scene.effect.Lighting;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import javafx.scene.effect.Lighting;
import org.kordamp.ikonli.material2.Material2SharpAL;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.MotionBlur;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.PerspectiveTransform;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.Reflection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.SepiaTone;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
package com.dlsc.jfxcentral2.utilities.effectdesigner.editor;

import com.dlsc.jfxcentral2.utils.IkonUtil;
import javafx.scene.effect.BlurType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.effect;
package com.dlsc.jfxcentral2.utilities.effectdesigner.effect;

import javafx.scene.effect.Blend;
import javafx.scene.effect.Effect;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.effect;
package com.dlsc.jfxcentral2.utilities.effectdesigner.effect;

import javafx.scene.effect.Blend;
import javafx.scene.effect.Effect;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.effect;
package com.dlsc.jfxcentral2.utilities.effectdesigner.effect;

import javafx.scene.effect.Effect;
import javafx.scene.effect.Lighting;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.dlsc.jfxcentral2.utilities.shadowdesigner.effect;
package com.dlsc.jfxcentral2.utilities.effectdesigner.effect;

import javafx.scene.effect.Effect;
import javafx.scene.effect.Lighting;
Expand Down
6 changes: 3 additions & 3 deletions components/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@
exports com.dlsc.jfxcentral2.components.hamburger;
exports com.dlsc.jfxcentral2.components.topcontent;
exports com.dlsc.jfxcentral2.utilities.pathextractor;
exports com.dlsc.jfxcentral2.utilities.shadowdesigner;
exports com.dlsc.jfxcentral2.utilities.shadowdesigner.editor;
exports com.dlsc.jfxcentral2.utilities.effectdesigner;
exports com.dlsc.jfxcentral2.utilities.effectdesigner.editor;
exports com.dlsc.jfxcentral2.utilities.paintpicker.impl;
exports com.dlsc.jfxcentral2.utilities.shadowdesigner.effect;
exports com.dlsc.jfxcentral2.utilities.effectdesigner.effect;

uses IkonProvider;
}
Loading

0 comments on commit d5b584c

Please sign in to comment.