Changeset 176


Ignore:
Timestamp:
09/05/11 17:57:18 (13 years ago)
Author:
vmipsl
Message:

Applets _ essais

Location:
ether_megapoli/trunk
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/service/implementation/com/ether/EtherPlotServiceImpl.java

    r171 r176  
    2222 
    2323import javax.swing.*; 
     24import javax.swing.border.EtchedBorder; 
    2425import java.awt.*; 
    2526import java.awt.image.BufferedImage; 
     
    476477    } 
    477478 
     479    public void makeControlPanel() 
     480    { 
     481//        final JPanel controlPanel = new JPanel(); 
     482//        final ButtonGroup gridtype = new ButtonGroup(); 
     483//        final JCheckBox stacked = new JCheckBox(); 
     484//        final JCheckBox grid = new JCheckBox(); 
     485// 
     486//        controlPanel.setLayout( new GridBagLayout() ); 
     487////    controlPanel.setBackground(new java.awt.Color(200,200,200)); 
     488//        controlPanel.setBounds( 0, 679, 426, 33 ); 
     489//        controlPanel.setBorder( new EtchedBorder() ); 
     490//        gridtype.add( stacked ); 
     491//        stacked.setSelected( true ); 
     492//        stacked.setText( "Overlayed" ); 
     493// 
     494//        GridBagConstraints gbc = new GridBagConstraints(); 
     495//        gbc.gridx = 0; 
     496//        gbc.gridy = 0; 
     497//        gbc.gridwidth = 1; 
     498//        gbc.gridheight = 1; 
     499//        gbc.weightx = 0.0; 
     500//        gbc.weighty = 1.0; 
     501//        gbc.anchor = GridBagConstraints.EAST; 
     502//        gbc.fill = GridBagConstraints.BOTH; 
     503//        gbc.insets = new Insets( 5, 15, 5, 5 ); 
     504//        gbc.ipadx = 0; 
     505//        gbc.ipady = 0; 
     506//        controlPanel.add( stacked, gbc ); 
     507//        stacked.setBounds( 15, 5, 84, 23 ); 
     508//        gridtype.add( grid ); 
     509//        grid.setText( "Grid" ); 
     510// 
     511//        gbc.gridx = 1; 
     512//        gbc.gridy = 0; 
     513//        gbc.gridwidth = 1; 
     514//        gbc.gridheight = 1; 
     515//        gbc.weightx = 0.5; 
     516//        gbc.weighty = 1.0; 
     517//        gbc.anchor = GridBagConstraints.WEST; 
     518//        gbc.fill = GridBagConstraints.VERTICAL; 
     519//        gbc.insets = new Insets( 5, 5, 5, 0 ); 
     520//        gbc.ipadx = 0; 
     521//        gbc.ipady = 0; 
     522//        controlPanel.add( grid, gbc ); 
     523//        grid.setBounds( 109, 5, 53, 23 ); 
     524//        showTree.setText( "Show Class Tree" ); 
     525// 
     526//        gbc.gridx = 2; 
     527//        gbc.gridy = 0; 
     528//        gbc.gridwidth = 1; 
     529//        gbc.gridheight = 1; 
     530//        gbc.weightx = 1.0; 
     531//        gbc.weighty = 1.0; 
     532//        gbc.anchor = GridBagConstraints.EAST; 
     533//        gbc.fill = GridBagConstraints.VERTICAL; 
     534//        gbc.insets = new Insets( 5, 5, 5, 15 ); 
     535//        gbc.ipadx = 0; 
     536//        gbc.ipady = 0; 
     537//        controlPanel.add( showTree, gbc ); 
     538//        showTree.setBackground( Color.yellow.brighter() ); 
     539//        showTree.setBounds( 302, 5, 109, 23 ); 
     540// 
     541//        SymItem lSymItem = new SymItem(); 
     542//        stacked.addItemListener( lSymItem ); 
     543//        grid.addItemListener( lSymItem ); 
     544//        SymAction lSymAction = new SymAction(); 
     545//        showTree.addActionListener( lSymAction ); 
     546    } 
     547 
     548 
    478549    private static final Log LOGGER = LogFactory.getLog( EtherPlotServiceImpl.class ); 
    479550 
  • ether_megapoli/trunk/service/implementation/com/ether/MegapoliPlot.java

    r171 r176  
    124124    private Data _data; 
    125125    @NotNull 
    126     private String _logoMegapoli = MegapoliInitialisation.pathImages + "/logo_Megapoli.png"; 
     126//    private String _logoMegapoli = MegapoliInitialisation.pathImages + "/logo_Megapoli.png"; 
     127    private String _logoMegapoli = "/home_local/PROJETS/MEGAPOLI/megapoli/data/images/logo_Megapoli.png"; 
     128 
    127129    @NotNull 
    128     private String _logoEther = MegapoliInitialisation.pathImages + "/logo_Ether.jpg"; 
     130//    private String _logoEther = MegapoliInitialisation.pathImages + "/logo_Ether.jpg"; 
     131    private String _logoEther = "/home_local/PROJETS/MEGAPOLI/megapoli/data/images/logo_Ether.jpg"; 
    129132    private boolean _legendToHide = true; 
    130133    private boolean _isTimeSerie = true; 
Note: See TracChangeset for help on using the changeset viewer.