Revision 1746 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.api/src/main/java/org/gvsig/tools/swing/api/ToolsSwingManager.java

View differences:

ToolsSwingManager.java
5 5
import java.awt.Dimension;
6 6
import java.awt.Image;
7 7
import java.awt.image.BufferedImage;
8
import java.io.File;
8 9
import javax.swing.AbstractButton;
9 10
import javax.swing.ComboBoxModel;
10 11
import javax.swing.JButton;
11 12
import javax.swing.JComboBox;
13
import javax.swing.JComponent;
12 14
import javax.swing.JLabel;
13 15
import javax.swing.JList;
14 16
import javax.swing.JSlider;
......
16 18
import javax.swing.JTextField;
17 19
import javax.swing.text.JTextComponent;
18 20
import javax.swing.tree.TreeModel;
21
import org.gvsig.tools.swing.api.pickercontroller.ColorPickerController;
22
import org.gvsig.tools.swing.api.pickercontroller.DatePickerController;
23
import org.gvsig.tools.swing.api.pickercontroller.FilePickerController;
24
import org.gvsig.tools.swing.api.pickercontroller.FolderPickerController;
19 25

  
20 26

  
21 27
public interface ToolsSwingManager {
......
28 34

  
29 35
    public ComboBoxModel createComboBoxModel(TreeModel treeModel);
30 36

  
37
    /**
38
     * @deprecated use createColorPickerController
39
     */
31 40
    public ColorChooserController createColorChooserController(JTextField txtLabel, JButton btnShowDialog, JSlider sldAlpha, boolean allowNull);
41
    /**
42
     * @deprecated use createColorPickerController
43
     */
32 44
    public ColorChooserController createColorChooserController(JTextField txtLabel, JButton btnShowDialog);
45
    /**
46
     * @deprecated use createColorPickerController
47
     */
33 48
    public ColorChooserController createColorChooserController(JTextField txtLabel, JButton btnShowDialog, JSlider sldAlpha);
34 49
    
35 50
    
......
93 108
    
94 109
    public Color opaqueColor(Color src);
95 110

  
111
    public void translate(JComponent component);
112
    
96 113
    public void translate(AbstractButton component);
97 114

  
98 115
    public void translate(JLabel component);
......
106 123
    public void setDefaultPopupMenu(final JTextComponent component, String title);    
107 124

  
108 125
    public void setDefaultPopupMenu(final JComboBox component, String title);    
126

  
127
    public ChangeListenerHelper createChangeListenerHelper();
128
    
129
    public ColorPickerController createColorPickerController(JTextField txtLabel, JButton btnShowDialog, JSlider sldAlpha, boolean allowNull);
130
    
131
    public ColorPickerController createColorPickerController(JTextField txtLabel, JButton btnShowDialog);
132
    
133
    public ColorPickerController createColorPickerController(JTextField txtLabel, JButton btnShowDialog, JSlider sldAlpha);
134
    
135
    public DatePickerController createDatePickerController(JTextField txtDate, JButton btnDate);
136

  
137
    public FilePickerController createFilePickerController(JTextField txtFile, JButton btnFile, String dialogTitle, String fileChooserID, File initialPath, boolean seticon);
138

  
139
    public FilePickerController createFilePickerController(JTextField txtFile, JButton btnFile);
140

  
141
    public FilePickerController createFilePickerController(JTextField txtFile, JButton btnFile, String dialogTitle);
142

  
143
    public FolderPickerController createFolderPickerController(JTextField txtFile, JButton btnFile, String dialogTitle, String fileChooserID, File initialPath, boolean seticon);
144

  
145
    public FolderPickerController createFolderPickerController(JTextField txtFile, JButton btnFile);
146

  
147
    public FolderPickerController createFolderPickerController(JTextField txtFile, JButton btnFile, String dialogTitle);
148

  
109 149
}

Also available in: Unified diff