Package net.infonode.tabbedpanel.theme

Examples of net.infonode.tabbedpanel.theme.ShapedGradientTheme


  }

  @Override
  protected void initGenericComponents() {
    super.initGenericComponents();
    ShapedGradientTheme theme = new ShapedGradientTheme(0f, 0f,
        new FixedColorProvider(new Color(150, 150, 150)), null) {
      public String getName() {
        return super.getName();
      }
    };
    titledTabProperties = new TitledTabProperties();
    titledTabProperties.addSuperObject(theme.getTitledTabProperties());

    tabbedPanel = new TabbedPanel();
    tabbedPanel.getProperties().addSuperObject(theme.getTabbedPanelProperties());
  }
View Full Code Here


  }
 
  @Override
  protected void initGenericComponents() {
    super.initGenericComponents();
    ShapedGradientTheme theme = new ShapedGradientTheme(0f, 0f, new FixedColorProvider(
        new Color(150, 150, 150)), null) {
      public String getName() {
        return super.getName();
      }
    };
    titledTabProperties = new TitledTabProperties();
      titledTabProperties.addSuperObject(theme.getTitledTabProperties());

      tabbedPanel = new TabbedPanel();
      tabbedPanel.getProperties().addSuperObject(theme.getTabbedPanelProperties());
  }
View Full Code Here

  }
 
  @Override
  protected void initGenericComponents() {
    super.initGenericComponents();
    ShapedGradientTheme theme = new ShapedGradientTheme(0f, 0f, new FixedColorProvider(
        new Color(150, 150, 150)), null) {
      public String getName() {
        return super.getName();
      }
    };
    titledTabProperties = new TitledTabProperties();
      titledTabProperties.addSuperObject(theme.getTitledTabProperties());

      tabbedPanel = new TabbedPanel();
      tabbedPanel.getProperties().addSuperObject(theme.getTabbedPanelProperties());
  }
View Full Code Here

  }

  @Override
  protected void initGenericComponents() {
    super.initGenericComponents();
    ShapedGradientTheme theme = new ShapedGradientTheme(0f, 0f,
        new FixedColorProvider(new Color(150, 150, 150)), null) {
      public String getName() {
        return super.getName();
      }
    };
    titledTabProperties = new TitledTabProperties();
    titledTabProperties.addSuperObject(theme.getTitledTabProperties());

    tabbedPanel = new TabbedPanel();
   
    TabListener listener = new TabListener() {

      public void tabAdded(TabEvent arg0) {
        // TODO Auto-generated method stub
       
      }

      public void tabDehighlighted(TabStateChangedEvent arg0) {
        // TODO Auto-generated method stub
       
      }

      public void tabDeselected(TabStateChangedEvent arg0) {
        // TODO Auto-generated method stub
       
      }

      public void tabDragAborted(TabEvent arg0) {
        // TODO Auto-generated method stub
       
      }

      public void tabDragged(TabDragEvent arg0) {
        // TODO Auto-generated method stub
       
      }

      public void tabDropped(TabDragEvent arg0) {
        // TODO Auto-generated method stub
       
      }

      public void tabHighlighted(TabStateChangedEvent event) {
        Main.setWaitCursor();
        refreshTabs();
        Main.setDefaultCursor();       
      }

      public void tabMoved(TabEvent arg0) {
        // TODO Auto-generated method stub
      }

      public void tabRemoved(TabRemovedEvent arg0) {
        // TODO Auto-generated method stub
       
      }

      public void tabSelected(TabStateChangedEvent arg0) {
        // TODO Auto-generated method stub
       
      }
     
    };
   
    tabbedPanel.addTabListener(listener);
   
    tabbedPanel.getProperties().addSuperObject(theme.getTabbedPanelProperties());
  }
View Full Code Here

  }

  @Override
  protected void initGenericComponents() {
    super.initGenericComponents();
    ShapedGradientTheme theme = new ShapedGradientTheme(0f, 0f,
        new FixedColorProvider(new Color(150, 150, 150)), null) {
      public String getName() {
        return super.getName();
      }
    };
    titledTabProperties = new TitledTabProperties();
    titledTabProperties.addSuperObject(theme.getTitledTabProperties());

    tabbedPanel = new TabbedPanel();
    tabbedPanel.getProperties().addSuperObject(
        theme.getTabbedPanelProperties());
  }
View Full Code Here

  }
 
  @Override
  protected void initGenericComponents() {
    super.initGenericComponents();
    ShapedGradientTheme theme = new ShapedGradientTheme(0f, 0f, new FixedColorProvider(
        new Color(150, 150, 150)), null) {
      public String getName() {
        return super.getName();
      }
    };
    titledTabProperties = new TitledTabProperties();
      titledTabProperties.addSuperObject(theme.getTitledTabProperties());

      tabbedPanel = new TabbedPanel();
      tabbedPanel.getProperties().addSuperObject(theme.getTabbedPanelProperties());
  }
View Full Code Here

TOP

Related Classes of net.infonode.tabbedpanel.theme.ShapedGradientTheme

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.