Class PreviewIcon2D

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
repast.simphony.visualization.gui.styleBuilder.PreviewIcon2D
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, PreviewIcon

public class PreviewIcon2D extends JLabel implements PreviewIcon
See Also:
  • Constructor Details

    • PreviewIcon2D

      public PreviewIcon2D()
  • Method Details

    • updatePreview

      public void updatePreview()
      Specified by:
      updatePreview in interface PreviewIcon
    • setEditorFontColor

      public void setEditorFontColor(Color color)
      Specified by:
      setEditorFontColor in interface PreviewIcon
    • setEditorFont

      public void setEditorFont(Font font)
      Specified by:
      setEditorFont in interface PreviewIcon
    • setFillColor

      public void setFillColor(Color fillColor)
      Specified by:
      setFillColor in interface PreviewIcon
    • setFillOpacity

      public void setFillOpacity(double fillOpacity)
    • setMark

      public void setMark(String mark)
      Specified by:
      setMark in interface PreviewIcon
    • setShape

      public void setShape(Shape shape)
    • setOutlineColor

      public void setOutlineColor(Color outlineColor)
    • setOutlineOpacity

      public void setOutlineOpacity(double outlineOpacity)
    • setMarkSize

      public void setMarkSize(float markSize)
      Specified by:
      setMarkSize in interface PreviewIcon
    • setOutlineThickness

      public void setOutlineThickness(double outlineThickness)
    • setIconFile

      public void setIconFile(File file)
      Specified by:
      setIconFile in interface PreviewIcon