Class PMIEasyChart.AlterablePen

java.lang.Object
com.inductiveautomation.factorypmi.application.components.PMIEasyChart.AlterablePen
Enclosing class:
PMIEasyChart

public abstract static class PMIEasyChart.AlterablePen extends Object
  • Constructor Details

    • AlterablePen

      protected AlterablePen(Pen pen)
  • Method Details

    • getType

      public PenType getType()
    • getColor

      public Color getColor()
    • setColor

      public void setColor(Color color)
    • isEnabled

      public boolean isEnabled()
    • isUserRemovable

      public boolean isUserRemovable()
    • setEnabled

      public void setEnabled(boolean enabled)
    • isSelectable

      public boolean isSelectable()
    • setSelectable

      public void setSelectable(boolean selectable)
    • getGroupName

      public String getGroupName()
    • getName

      public String getName()
    • getSortOrder

      public Integer getSortOrder()
    • getKey

      public String getKey()
      The pen's group and name
    • getConfigDataset

      protected Dataset getConfigDataset(PMIEasyChart chart)
      Gets the appropriate dataset from the chart that holds this type of pen's dataset
    • setConfigDataset

      protected void setConfigDataset(PMIEasyChart chart, Dataset configDs)
      Replaces the appropriate dataset in the chart with the given one
    • deletePen

      public void deletePen(PMIEasyChart chart)
    • alterConfig

      public abstract void alterConfig()