Class LabelRenderer.LabelData

java.lang.Object
de.grogra.pf.ui.awt.LabelRenderer.LabelData
All Implemented Interfaces:
Command, Icon
Enclosing class:
LabelRenderer

public class LabelRenderer.LabelData extends Object implements Icon, Command
  • Constructor Details

    • LabelData

      public LabelData(Object userData)
  • Method Details

    • getUserData

      public Object getUserData()
    • getText

      public String getText()
    • getIcon

      public Icon getIcon()
    • invalidate

      public void invalidate()
    • revalidate

      public void revalidate()
    • getIconWidth

      public int getIconWidth()
      Specified by:
      getIconWidth in interface Icon
    • getIconHeight

      public int getIconHeight()
      Specified by:
      getIconHeight in interface Icon
    • getCommandName

      public String getCommandName()
      Description copied from interface: Command
      Returns a name which can be used in the graphical user interface to represent this command.
      Specified by:
      getCommandName in interface Command
      Returns:
      this commands's name
    • run

      public void run(Object info, Context c)
      Description copied from interface: Command
      Performs the actions of this command. This method is invoked by the JobManager after the command has been submitted to the job manager by one of execute, runAt, or runLater-methods. The arguments info and context are the arguments which have been provided as arguments to the JobManager-methods.
      Specified by:
      run in interface Command
      Parameters:
      info - an argument
      c - a context
    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon
    • toString

      public String toString()
      Overrides:
      toString in class Object