organize imports

This commit is contained in:
Redhuan D. Oon 2008-12-22 08:13:56 +00:00
parent c502a7635a
commit 9d7ffa7d58
31 changed files with 246 additions and 125 deletions

View File

@ -19,8 +19,8 @@ package org.compiere.plaf;
/* /*
* @(#)AquaTheme.java 1.9 04/07/26 * @(#)AquaTheme.java 1.9 04/07/26
*/ */
import javax.swing.plaf.*; import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.metal.*; import javax.swing.plaf.metal.DefaultMetalTheme;
/** /**

View File

@ -21,8 +21,8 @@ package org.compiere.plaf;
*/ */
import javax.swing.plaf.*; import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.metal.*; import javax.swing.plaf.metal.DefaultMetalTheme;
/** /**
* This class describes a theme using gray colors. * This class describes a theme using gray colors.

View File

@ -16,11 +16,17 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.event.*; import java.awt.event.InputEvent;
import java.beans.*; import java.beans.PropertyChangeEvent;
import javax.swing.*;
import javax.swing.plaf.*; import javax.swing.AbstractButton;
import javax.swing.plaf.basic.*; import javax.swing.InputMap;
import javax.swing.JCheckBox;
import javax.swing.JComponent;
import javax.swing.KeyStroke;
import javax.swing.SwingUtilities;
import javax.swing.plaf.ComponentInputMapUIResource;
import javax.swing.plaf.basic.BasicButtonListener;
/** /**
* Button Listener * Button Listener

View File

@ -16,11 +16,16 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Graphics;
import javax.swing.*; import java.awt.Graphics2D;
import javax.swing.plaf.*;
import javax.swing.plaf.basic.*; import javax.swing.AbstractButton;
import javax.swing.plaf.metal.*; import javax.swing.ButtonModel;
import javax.swing.JComponent;
import javax.swing.JToolBar;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicButtonListener;
import javax.swing.plaf.metal.MetalButtonUI;
/** /**
* Button UI * Button UI

View File

@ -16,9 +16,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import javax.swing.*; import javax.swing.JComponent;
import javax.swing.plaf.*; import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.*; import javax.swing.plaf.basic.BasicCheckBoxMenuItemUI;
/** /**
* Menu Check Box UI * Menu Check Box UI

View File

@ -19,7 +19,7 @@ package org.compiere.plaf;
import javax.swing.AbstractButton; import javax.swing.AbstractButton;
import javax.swing.JComponent; import javax.swing.JComponent;
import javax.swing.plaf.ComponentUI; import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.*; import javax.swing.plaf.basic.BasicButtonListener;
import javax.swing.plaf.metal.MetalCheckBoxUI; import javax.swing.plaf.metal.MetalCheckBoxUI;
/** /**

View File

@ -16,19 +16,37 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.AlphaComposite;
import java.awt.image.*; import java.awt.BasicStroke;
import java.io.*; import java.awt.Color;
import java.net.*; import java.awt.Container;
import java.util.*; import java.awt.GradientPaint;
import java.util.logging.*; import java.awt.Graphics;
import javax.swing.*; import java.awt.Graphics2D;
import javax.swing.plaf.*; import java.awt.Point;
import java.awt.Rectangle;
import java.awt.TexturePaint;
import java.awt.Window;
import java.awt.image.BufferedImage;
import java.io.Serializable;
import java.net.URL;
import java.util.ResourceBundle;
import java.util.logging.Logger;
import javax.swing.JComponent;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JWindow;
import javax.swing.SwingConstants;
import javax.swing.UIManager;
import javax.swing.plaf.ColorUIResource;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.swing.ColorBlind; import org.compiere.swing.ColorBlind;
import org.compiere.swing.ThemeUtils; import org.compiere.swing.ThemeUtils;
import org.compiere.util.*; import org.compiere.util.KeyNamePair;
import org.compiere.util.ValueNamePair;
/** /**
* Adempiere Background Color * Adempiere Background Color

View File

@ -16,11 +16,15 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.event.*; import java.awt.event.MouseListener;
import javax.swing.*;
import javax.swing.plaf.*; import javax.swing.Icon;
import javax.swing.plaf.basic.*; import javax.swing.JButton;
import javax.swing.plaf.metal.*; import javax.swing.JComponent;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.ComboPopup;
import javax.swing.plaf.metal.MetalComboBoxButton;
import javax.swing.plaf.metal.MetalComboBoxUI;
/** /**

View File

@ -16,9 +16,11 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import javax.swing.*; import javax.swing.JComboBox;
import javax.swing.plaf.basic.*; import javax.swing.plaf.basic.BasicComboPopup;
import org.compiere.swing.*;
import org.compiere.swing.CComboBox;
import org.compiere.swing.CField;
/** /**
* Adempiere Combo Popup - allows to prevent the display of the popup * Adempiere Combo Popup - allows to prevent the display of the popup

View File

@ -16,13 +16,21 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Component;
import java.awt.event.*; import java.awt.Container;
import javax.swing.*; import java.awt.FocusTraversalPolicy;
import javax.swing.plaf.*; import java.awt.event.ActionEvent;
import javax.swing.plaf.metal.*;
import sun.swing.*; import javax.swing.ActionMap;
import javax.swing.InputMap;
import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.KeyStroke;
import javax.swing.SwingUtilities;
import javax.swing.plaf.ComponentInputMapUIResource;
import javax.swing.plaf.metal.MetalLabelUI;
import sun.swing.UIAction;
/** /**
* Adempiere Label UI * Adempiere Label UI

View File

@ -16,10 +16,12 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Color;
import java.awt.Component;
import javax.swing.*; import javax.swing.UIDefaults;
import javax.swing.plaf.metal.*; import javax.swing.plaf.metal.MetalLookAndFeel;
import javax.swing.plaf.metal.MetalTheme;
/** /**
* Compiere Look & Feel. * Compiere Look & Feel.

View File

@ -16,10 +16,11 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Graphics;
import javax.swing.*;
import javax.swing.plaf.*; import javax.swing.JComponent;
import javax.swing.plaf.metal.*; import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.metal.MetalMenuBarUI;
/** /**
* Adempiere Menu Bar UI. * Adempiere Menu Bar UI.

View File

@ -16,10 +16,14 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Color;
import javax.swing.*; import java.awt.Graphics;
import javax.swing.plaf.*;
import javax.swing.plaf.basic.*; import javax.swing.ButtonModel;
import javax.swing.JComponent;
import javax.swing.JMenuItem;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicMenuItemUI;
/** /**
* Menu Item UI * Menu Item UI

View File

@ -16,10 +16,12 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Graphics;
import javax.swing.*;
import javax.swing.plaf.*; import javax.swing.JComponent;
import javax.swing.plaf.basic.*; import javax.swing.JPanel;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicPanelUI;
/** /**
* Panel UI. * Panel UI.

View File

@ -16,9 +16,10 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import javax.swing.*; import javax.swing.AbstractButton;
import javax.swing.plaf.*; import javax.swing.JComponent;
import javax.swing.plaf.metal.*; import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.metal.MetalRadioButtonUI;
/** /**
* Adempiere Radio Button UI * Adempiere Radio Button UI

View File

@ -16,9 +16,10 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import javax.swing.*; import javax.swing.JComponent;
import javax.swing.plaf.*; import javax.swing.JScrollPane;
import javax.swing.plaf.metal.*; import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.metal.MetalScrollPaneUI;
/** /**
* Adempiere Scroll Pane UI * Adempiere Scroll Pane UI

View File

@ -16,8 +16,10 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Graphics;
import javax.swing.plaf.basic.*;
import javax.swing.plaf.basic.BasicSplitPaneDivider;
import javax.swing.plaf.basic.BasicSplitPaneUI;
/** /**
* Split Pane Divider * Split Pane Divider

View File

@ -16,9 +16,10 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import javax.swing.*; import javax.swing.JComponent;
import javax.swing.plaf.*; import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.*; import javax.swing.plaf.basic.BasicSplitPaneDivider;
import javax.swing.plaf.basic.BasicSplitPaneUI;
/** /**
* Adempiere Split Pane UI. * Adempiere Split Pane UI.

View File

@ -16,11 +16,27 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Color;
import javax.swing.*; import java.awt.Component;
import javax.swing.plaf.*; import java.awt.Dimension;
import javax.swing.plaf.basic.*; import java.awt.Font;
import javax.swing.plaf.metal.*; import java.awt.FontMetrics;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Insets;
import java.awt.LayoutManager;
import java.awt.Polygon;
import java.awt.Rectangle;
import java.awt.Shape;
import javax.swing.Icon;
import javax.swing.JComponent;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicGraphicsUtils;
import javax.swing.plaf.metal.MetalTabbedPaneUI;
/** /**
* Same implementation detail as in AdempierePanelUI. * Same implementation detail as in AdempierePanelUI.

View File

@ -16,14 +16,24 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.AWTKeyStroke;
import java.awt.event.*; import java.awt.KeyboardFocusManager;
import java.beans.*; import java.awt.event.InputEvent;
import java.util.*; import java.awt.event.KeyEvent;
import javax.swing.*; import java.beans.PropertyChangeEvent;
import javax.swing.plaf.*; import java.util.HashSet;
import javax.swing.plaf.basic.*; import java.util.Set;
import javax.swing.text.*;
import javax.swing.Action;
import javax.swing.JComponent;
import javax.swing.KeyStroke;
import javax.swing.LookAndFeel;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicTextAreaUI;
import javax.swing.text.DefaultEditorKit;
import javax.swing.text.EditorKit;
import javax.swing.text.JTextComponent;
import javax.swing.text.Keymap;
public class CompiereTextAreaUI extends BasicTextAreaUI public class CompiereTextAreaUI extends BasicTextAreaUI

View File

@ -16,12 +16,13 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Font;
import java.util.logging.*; import java.util.logging.Logger;
import javax.swing.UIDefaults; import javax.swing.UIDefaults;
import javax.swing.plaf.*; import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.metal.*; import javax.swing.plaf.FontUIResource;
import javax.swing.plaf.metal.MetalTheme;
import org.compiere.swing.ColorBlind; import org.compiere.swing.ColorBlind;
import org.compiere.swing.ExtendedTheme; import org.compiere.swing.ExtendedTheme;

View File

@ -16,9 +16,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Color;
import javax.swing.plaf.*; import javax.swing.plaf.ColorUIResource;
/** /**
* Adempiere default Blue Metal Color Theme * Adempiere default Blue Metal Color Theme

View File

@ -16,17 +16,26 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.BorderLayout;
import java.awt.event.*; import java.awt.FlowLayout;
import java.util.*; import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ResourceBundle;
import javax.swing.*; import javax.swing.JColorChooser;
import javax.swing.border.*; import javax.swing.JDialog;
import javax.swing.plaf.*; import javax.swing.UIManager;
import javax.swing.plaf.metal.*; import javax.swing.border.TitledBorder;
import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.FontUIResource;
import javax.swing.plaf.metal.MetalLookAndFeel;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.swing.*; import org.compiere.swing.CButton;
import org.compiere.swing.CDialog;
import org.compiere.swing.CPanel;
import org.compiere.swing.FontChooser;
/** /**
* Java Theme Editor. * Java Theme Editor.

View File

@ -16,8 +16,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Color;
import javax.swing.plaf.*;
import javax.swing.plaf.ColorUIResource;
/** /**
* Adempiere Theme Ice * Adempiere Theme Ice

View File

@ -16,10 +16,14 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Graphics;
import javax.swing.*; import java.awt.Graphics2D;
import javax.swing.plaf.*;
import javax.swing.plaf.metal.*; import javax.swing.AbstractButton;
import javax.swing.ButtonModel;
import javax.swing.JComponent;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.metal.MetalToggleButtonUI;
/** /**
* Adempiere Toggle Button UI * Adempiere Toggle Button UI

View File

@ -16,9 +16,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import javax.swing.*; import javax.swing.JComponent;
import javax.swing.plaf.*; import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.metal.*; import javax.swing.plaf.metal.MetalToolBarUI;
/** /**
* Adempiere Tool Bar * Adempiere Tool Bar

View File

@ -16,12 +16,17 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Dimension;
import java.awt.event.*; import java.awt.Graphics;
import java.awt.event.KeyEvent;
import javax.swing.*; import javax.swing.JComponent;
import javax.swing.plaf.*; import javax.swing.JMenuItem;
import javax.swing.plaf.metal.*; import javax.swing.JTabbedPane;
import javax.swing.JToolTip;
import javax.swing.KeyStroke;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.metal.MetalToolTipUI;
/** /**
* Tool Tip * Tool Tip

View File

@ -16,15 +16,30 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.plaf; package org.compiere.plaf;
import java.awt.*; import java.awt.Color;
import java.awt.geom.*; import java.awt.Component;
import java.awt.image.*; import java.awt.Container;
import java.io.*; import java.awt.GradientPaint;
import java.net.*; import java.awt.Graphics2D;
import java.util.logging.*; import java.awt.Image;
import javax.swing.*; import java.awt.MediaTracker;
import java.awt.Paint;
import java.awt.Rectangle;
import java.awt.Toolkit;
import java.awt.geom.RectangularShape;
import java.awt.geom.RoundRectangle2D;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import com.sun.image.codec.jpeg.*; import javax.swing.JComponent;
import com.sun.image.codec.jpeg.JPEGCodec;
import com.sun.image.codec.jpeg.JPEGImageDecoder;
/** /**
* UI utilities * UI utilities

View File

@ -19,11 +19,14 @@ package org.compiere.plaf;
/* /*
* @(#)ContrastTheme.java 1.10 04/07/26 * @(#)ContrastTheme.java 1.10 04/07/26
*/ */
import javax.swing.plaf.*; import javax.swing.UIDefaults;
import javax.swing.plaf.basic.*; import javax.swing.border.Border;
import javax.swing.plaf.metal.*; import javax.swing.border.CompoundBorder;
import javax.swing.*; import javax.swing.border.LineBorder;
import javax.swing.border.*; import javax.swing.plaf.BorderUIResource;
import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.basic.BasicBorders;
import javax.swing.plaf.metal.DefaultMetalTheme;
/** /**
* This class describes a higher-contrast Metal Theme. * This class describes a higher-contrast Metal Theme.

View File

@ -20,8 +20,8 @@ package org.compiere.plaf;
* @(#)EmeraldTheme.java 1.9 04/07/26 * @(#)EmeraldTheme.java 1.9 04/07/26
*/ */
import javax.swing.plaf.*; import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.metal.*; import javax.swing.plaf.metal.DefaultMetalTheme;
/** /**
* This class describes a theme using glowing green colors. * This class describes a theme using glowing green colors.

View File

@ -20,8 +20,8 @@ package org.compiere.plaf;
* @(#)RubyTheme.java 1.9 04/07/26 * @(#)RubyTheme.java 1.9 04/07/26
*/ */
import javax.swing.plaf.*; import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.metal.*; import javax.swing.plaf.metal.DefaultMetalTheme;
/** /**
* This class describes a theme using red colors. * This class describes a theme using red colors.