Package jisa.gui

Class Legend.LegendItem

  • Enclosing class:
    Legend

    public static class Legend.LegendItem
    extends java.lang.Object
    A item to be displayed on a Legend
    • Constructor Summary

      Constructors 
      Constructor Description
      LegendItem​(java.lang.String text)  
      LegendItem​(java.lang.String text, javafx.scene.Node symbol)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javafx.scene.Node getSymbol()  
      java.lang.String getText()  
      void setSymbol​(javafx.scene.Node value)  
      void setText​(java.lang.String value)  
      javafx.beans.property.ObjectProperty<javafx.scene.Node> symbolProperty()  
      javafx.beans.property.StringProperty textProperty()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LegendItem

        public LegendItem​(java.lang.String text)
      • LegendItem

        public LegendItem​(java.lang.String text,
                          javafx.scene.Node symbol)
    • Method Detail

      • getText

        public final java.lang.String getText()
      • setText

        public final void setText​(java.lang.String value)
      • textProperty

        public final javafx.beans.property.StringProperty textProperty()
      • getSymbol

        public final javafx.scene.Node getSymbol()
      • setSymbol

        public final void setSymbol​(javafx.scene.Node value)
      • symbolProperty

        public final javafx.beans.property.ObjectProperty<javafx.scene.Node> symbolProperty()