Documentation of 'com.jstatcom.component.TopFrameSettings' Java class
TopFrameSettings
com.jstatcom.component

Class TopFrameSettings

  • All Implemented Interfaces:
    SettingsElement


    public final class TopFrameSettings
    extends java.lang.Object
    implements SettingsElement
    Holds all settings of the TopFrame class that should be stored between application runs.
    • Field Detail

      • TopFrameSettings_XML

        public static final XmlFormat<TopFrameSettings> TopFrameSettings_XML
        XML format field for (de)serialization.
    • Constructor Detail

      • TopFrameSettings

        public TopFrameSettings()
    • Method Detail

      • setElement

        public void setElement()
        Description copied from interface: SettingsElement
        Implementations of this method should use the information stored in this SettingsElement to set the state of components at runtime. For example, one implementation of this interface, the ProjectTreeNode, adds itself to the ProjectTree when this method is called. Before that, it has been restored from its serialization in an XML file.
        Specified by:
        setElement in interface SettingsElement
      • getFrameBounds

        public JSCNArray getFrameBounds()
        Gets the 4x1 array holding location and size of the frame.
        Returns:
        bounds array
      • setFrameBounds

        public void setFrameBounds(JSCNArray frameBounds)
        Sets the 4x1 array holding location and size of the frame.
        Parameters:
        frameBounds -
        Throws:
        java.lang.IllegalArgumentException - if (frameBounds == null)
      • getSplitLocation

        public JSCInt getSplitLocation()
        Gets the position of the splitpane divider.
        Returns:
        position of divider
      • setSplitLocation

        public void setSplitLocation(JSCInt splitLocation)
        Sets the position of the splitpane divider.
        Parameters:
        splitLocation - as integer
        Throws:
        java.lang.IllegalArgumentException - if (splitLocation == null)
      • getIsOutputOn

        public JSCInt getIsOutputOn()
        Gets JSCInt indicating whether output is on.
        Returns:
        JSCInt
      • setIsOutputOn

        public void setIsOutputOn(JSCInt isOutputOn)
        Sets whether output is on.
        Parameters:
        isOutputOn - as integer
        Throws:
        java.lang.IllegalArgumentException - if (isOutputOn == null)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.