Documentation of 'org.jhotdraw.gui.event.SheetEvent' Java class
SheetEvent
org.jhotdraw.gui.event

Class SheetEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class SheetEvent
    extends java.util.EventObject
    SheetEvent.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SheetEvent(JSheet source)
      Creates a new instance.
      SheetEvent(JSheet source, javax.swing.JFileChooser fileChooser, int option, java.lang.Object value)
      Creates a new instance.
      SheetEvent(JSheet source, javax.swing.JOptionPane optionPane, int option, java.lang.Object value, java.lang.Object inputValue)
      Creates a new instance.
      SheetEvent(JSheet source, URIChooser chooser, int option, java.lang.Object value)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      URIChooser getChooser()
      Returns the URIChooser pane on the sheet.
      javax.swing.JFileChooser getFileChooser()
      Returns the JFileChooser pane on the sheet.
      java.lang.Object getInputValue()
      Returns the input value that the JOptionPane returned, if it wants input.
      int getOption()
      Returns the option that the JFileChooser or JOptionPane returned.
      javax.swing.JOptionPane getOptionPane()
      Returns the JOptionPane pane on the sheet.
      java.lang.Object getPane()
      Returns the pane on the sheet.
      java.lang.Object getValue()
      Returns the value that the JFileChooser or JOptionPane returned.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

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

      • SheetEvent

        public SheetEvent(JSheet source)
        Creates a new instance.
      • SheetEvent

        public SheetEvent(JSheet source,
                          javax.swing.JFileChooser fileChooser,
                          int option,
                          @Nullable
                          java.lang.Object value)
        Creates a new instance.
      • SheetEvent

        public SheetEvent(JSheet source,
                          URIChooser chooser,
                          int option,
                          @Nullable
                          java.lang.Object value)
        Creates a new instance.
      • SheetEvent

        public SheetEvent(JSheet source,
                          javax.swing.JOptionPane optionPane,
                          int option,
                          @Nullable
                          java.lang.Object value,
                          @Nullable
                          java.lang.Object inputValue)
        Creates a new instance.
    • Method Detail

      • getPane

        public java.lang.Object getPane()
        Returns the pane on the sheet. This is either a JFileChooser, a URIChooser or a JOptionPane.
      • getFileChooser

        public javax.swing.JFileChooser getFileChooser()
        Returns the JFileChooser pane on the sheet.
      • getChooser

        public URIChooser getChooser()
        Returns the URIChooser pane on the sheet.
      • getOptionPane

        public javax.swing.JOptionPane getOptionPane()
        Returns the JOptionPane pane on the sheet.
      • getOption

        public int getOption()
        Returns the option that the JFileChooser or JOptionPane returned.
      • getValue

        public java.lang.Object getValue()
        Returns the value that the JFileChooser or JOptionPane returned.
      • getInputValue

        public java.lang.Object getInputValue()
        Returns the input value that the JOptionPane returned, if it wants input.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.