Class JLabelRenderer

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TableCellRenderer

@OpenApiAll public class JLabelRenderer extends JLabel implements TableCellRenderer
Class for render jLabel.
Since:
Jun 15, 2009
See Also:
  • Constructor Details

    • JLabelRenderer

      public JLabelRenderer()
  • Method Details

    • setProperties

      public void setProperties(Properties properties)
      Set value for blank name element.
      Parameters:
      properties - properties
    • setShowElementIcon

      public void setShowElementIcon(boolean showElementIcon)
      Set value for blank name element.
      Parameters:
      showElementIcon - true to do not show element icon
    • getBlankValue

      public String getBlankValue()
      Return value for blank name element.
      Returns:
      value for blank field
    • getTableCellRendererComponent

      public Component getTableCellRendererComponent(JTable table, Object obj, boolean isSelected, boolean hasFocus, int row, int column)
      Method for render in to JLable.
      Specified by:
      getTableCellRendererComponent in interface TableCellRenderer
      Parameters:
      table - table
      obj - object
      isSelected - value of boolean is true if table is selected
      hasFocus - value of boolean is true if table has focus
      row - index of row
      column - index of column
      Returns:
      JLabel JLabel
      See Also: