Documentation of 'weka.gui.visualize.PrintableHandler' Java class
PrintableHandler
weka.gui.visualize

Interface PrintableHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getSaveDialogTitle()
      returns the title for the save dialog
      JComponentWriter getWriter(java.lang.String name)
      returns the JComponentWriter associated with the given name, is null if not found
      java.util.Hashtable<java.lang.String,JComponentWriter> getWriters()
      returns a Hashtable with the current available JComponentWriters in the save dialog.
      double getXScale()
      returns the scale factor for the x-axis
      double getYScale()
      returns the scale factor for the y-axis
      void saveComponent()
      displays a save dialog for saving the component to a file.
      void setSaveDialogTitle(java.lang.String title)
      sets the title for the save dialog
      void setScale(double x, double y)
      sets the scale factor
    • Method Detail

      • getWriters

        java.util.Hashtable<java.lang.String,JComponentWriter> getWriters()
        returns a Hashtable with the current available JComponentWriters in the save dialog. the key of the Hashtable is the description of the writer.
        Returns:
        all currently available JComponentWriters
        See Also:
        JComponentWriter.getDescription()
      • setSaveDialogTitle

        void setSaveDialogTitle(java.lang.String title)
        sets the title for the save dialog
      • getSaveDialogTitle

        java.lang.String getSaveDialogTitle()
        returns the title for the save dialog
      • setScale

        void setScale(double x,
                      double y)
        sets the scale factor
        Parameters:
        x - the scale factor for the x-axis
        y - the scale factor for the y-axis
      • getXScale

        double getXScale()
        returns the scale factor for the x-axis
      • getYScale

        double getYScale()
        returns the scale factor for the y-axis
      • saveComponent

        void saveComponent()
        displays a save dialog for saving the component to a file.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.