Class MetersListChartsPanel

All Implemented Interfaces:
IItem<House>, IItemPanel<House>, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class MetersListChartsPanel extends JPanel implements IItemPanel<House>, PropertyChangeListener
Since:
1.0 Mar 17, 2009, 1.0
Version:
%I%, %G%
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • MetersListChartsPanel

      public MetersListChartsPanel()
  • Method Details

    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • showCard

      public void showCard(be.gaudry.swing.brolmeter.chart.MetersListChartsPanel.MainPanelCard card)
    • main

      public static void main(String[] args)
      Auto-generated main method to display this JPanel inside a new JFrame.
    • getItemName

      public String getItemName()
      Specified by:
      getItemName in interface IItemPanel<House>
      Returns:
      a user readable name (ie person, actor,...)
    • getPanel

      public JPanel getPanel()
      Description copied from interface: IItemPanel
      Mostly implemented like this :
      public JPanel getPanel(){
              return this;
       }
      because we cannot inherit from JPanel for an interface, but we must insert the implemented class in a container.
      Specified by:
      getPanel in interface IItemPanel<House>
      Returns:
      the panel
    • setItem

      public void setItem(House _house)
      Sets class into housesTaskPane, and set meters into meters taskpane
      Specified by:
      setItem in interface IItem<House>
      Parameters:
      _house -
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener
    • setLanguage

      protected void setLanguage()
      Since:
      1.0.1-SNAPSHOT (Feb 17 2009)