Class GraphicsElement

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ADDITIONAL
      DOCUMENT-ME
      static int MAIN
      DOCUMENT-ME
      static int SIMPLE
      DOCUMENT-ME
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphicsElement​(java.lang.Object object)
      Creates a new GraphicsElement object.
      GraphicsElement​(java.lang.Object object, javax.swing.Icon icon, java.awt.Image image, java.lang.String imageName)  
      GraphicsElement​(javax.swing.Icon icon, java.awt.Image image, java.lang.String imageName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.swing.Icon getIcon()
      Getter for property icon.
      java.awt.Image getImage()
      Getter for property image.
      java.lang.String getImageName()
      Getter for property imageName.
      java.lang.Object getObject()
      Getter for property object.
      java.lang.String getStyleset()
      Getter for property styleset.
      java.lang.String getTooltip()
      Getter for property tooltip.
      int getType()
      Returns the type of this element.
      boolean hasStyleset()
      DOCUMENT-ME
      boolean isEmphasized()
      Getter for property emphasized.
      void setEmphasized​(boolean emphasized)
      Setter for property emphasized.
      void setIcon​(javax.swing.Icon icon)
      Setter for property icon.
      void setImage​(java.awt.Image image)
      Setter for property image.
      void setImageName​(java.lang.String imageName)
      Setter for property imageName.
      void setObject​(java.lang.Object object)
      Setter for property object.
      void setStyleset​(java.lang.String styleset)
      Setter for property styleset.
      void setTooltip​(java.lang.String tooltip)
      Setter for property tooltip.
      void setType​(int type)
      Sets the type of this element.
      • Methods inherited from class java.lang.Object

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

      • GraphicsElement

        public GraphicsElement​(javax.swing.Icon icon,
                               java.awt.Image image,
                               java.lang.String imageName)
      • GraphicsElement

        public GraphicsElement​(java.lang.Object object)
        Creates a new GraphicsElement object.
      • GraphicsElement

        public GraphicsElement​(java.lang.Object object,
                               javax.swing.Icon icon,
                               java.awt.Image image,
                               java.lang.String imageName)
    • Method Detail

      • getIcon

        public javax.swing.Icon getIcon()
        Getter for property icon.
        Returns:
        Value of property icon.
      • setIcon

        public void setIcon​(javax.swing.Icon icon)
        Setter for property icon.
        Parameters:
        icon - New value of property icon.
      • getImage

        public java.awt.Image getImage()
        Getter for property image.
        Returns:
        Value of property image.
      • setImage

        public void setImage​(java.awt.Image image)
        Setter for property image.
        Parameters:
        image - New value of property image.
      • getImageName

        public java.lang.String getImageName()
        Getter for property imageName.
        Returns:
        Value of property imageName.
      • setImageName

        public void setImageName​(java.lang.String imageName)
        Setter for property imageName.
        Parameters:
        imageName - New value of property imageName.
      • getObject

        public java.lang.Object getObject()
        Getter for property object.
        Returns:
        Value of property object.
      • setObject

        public void setObject​(java.lang.Object object)
        Setter for property object.
        Parameters:
        object - New value of property object.
      • getStyleset

        public java.lang.String getStyleset()
        Getter for property styleset.
        Returns:
        Value of property styleset.
      • setStyleset

        public void setStyleset​(java.lang.String styleset)
        Setter for property styleset.
        Parameters:
        styleset - New value of property styleset.
      • hasStyleset

        public boolean hasStyleset()
        DOCUMENT-ME
      • isEmphasized

        public boolean isEmphasized()
        Getter for property emphasized.
        Returns:
        Value of property emphasized.
      • setEmphasized

        public void setEmphasized​(boolean emphasized)
        Setter for property emphasized.
        Parameters:
        emphasized - New value of property emphasized.
      • getTooltip

        public java.lang.String getTooltip()
        Getter for property tooltip.
        Returns:
        Value of property tooltip.
      • setTooltip

        public void setTooltip​(java.lang.String tooltip)
        Setter for property tooltip.
        Parameters:
        tooltip - New value of property tooltip.
      • getType

        public int getType()
        Returns the type of this element.
      • setType

        public void setType​(int type)
        Sets the type of this element. Default is SIMPLE.