Class JaxoFLine

  • All Implemented Interfaces:
    java.awt.Shape, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener

    public class JaxoFLine
    extends JaxoLineObject
    A fermion line.
    Since:
    2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • JaxoFLine

        public JaxoFLine()
    • Method Detail

      • isCopy

        public boolean isCopy​(JaxoObject comp)
        Determines if this JaxoObject is a copy of the specified one.
        Overrides:
        isCopy in class JaxoLineObject
        Parameters:
        comp - The JaxoObject to compare against.
        Returns:
        True if the JaxoObjects are identical.
      • prepareEditPanel

        public void prepareEditPanel​(JaxoObjectEditPanel editPanel)
        Initializes the given editPanel to edit properties of this JaxoObject.
        Specified by:
        prepareEditPanel in class JaxoObject
        Parameters:
        editPanel - the panel to prepare.
      • getObjectPath

        protected java.awt.geom.GeneralPath getObjectPath()
        Get the GeneralPath that paints this line.
        Specified by:
        getObjectPath in class JaxoLineObject
        Returns:
        GeneralPath.
      • getAxo4JOptions

        protected java.lang.String getAxo4JOptions​(float scale)
        Return the option part of the LaTeX command for this line.
        Specified by:
        getAxo4JOptions in class JaxoLineObject
        Parameters:
        scale - the axodraw4j scale factor.
        Returns:
        the option String.