|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--upidiff.gui.ColorChooserA
this class used to choos color for deleted lines,new lins, updated lins new chars and deleted chars.
| Field Summary | |
private Catalog |
catalog
|
(package private) JDialog |
colorDialog
|
private JButton |
deletedCharB
|
private Color |
deletedCharC
|
private JLabel |
deletedCharL
|
private JButton |
deletedLineB
|
private Color |
deletedLineC
|
private JLabel |
deletedLineL
|
(package private) GridBagConstraints |
gbc
|
(package private) GridBagLayout |
gridBagLayout
|
private JButton |
newCharB
|
private Color |
newCharC
|
private JLabel |
newCharL
|
private JButton |
newLineB
|
private Color |
newLineC
|
private JLabel |
newLineL
|
private int |
number
|
(package private) JColorChooser |
onecolor
|
private JDialog |
parent
|
(package private) UserPreferences |
prefs
|
private JButton |
updatedLineB
|
private Color |
updatedLineC
|
private JLabel |
updatedLineL
|
| Fields inherited from class javax.swing.JPanel |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
(package private) |
ColorChooserA(JDialog parent)
|
| Method Summary | |
(package private) void |
applySettings()
|
private void |
creatDialog(Color color)
this method creats the dialog from colorchooser. |
(package private) void |
deletedLineBActionPerformed(ActionEvent e)
action listener method |
void |
dialogAction(ActionEvent e)
actionlistener method for ok button and cancel button |
private void |
jbInit()
|
private GridBagConstraints |
makeGBC(int gridx,
int gridy,
int gridwidth,
int gridheight)
hilf methodused to set the GridBagConstraints from the GridBagLayout. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private Catalog catalog
private JButton deletedLineB
private JButton newLineB
private JButton updatedLineB
private JButton deletedCharB
private JButton newCharB
private JLabel deletedLineL
private JLabel newLineL
private JLabel updatedLineL
private JLabel deletedCharL
private JLabel newCharL
private Color deletedLineC
private Color newLineC
private Color updatedLineC
private Color deletedCharC
private Color newCharC
GridBagLayout gridBagLayout
GridBagConstraints gbc
private int number
JColorChooser onecolor
JDialog colorDialog
UserPreferences prefs
private JDialog parent
| Constructor Detail |
ColorChooserA(JDialog parent)
| Method Detail |
void applySettings()
private void jbInit()
throws Exception
Exception
private GridBagConstraints makeGBC(int gridx,
int gridy,
int gridwidth,
int gridheight)
gridx - the columnsgridy - the linesgridwidth - the widthgridheight - the height
void deletedLineBActionPerformed(ActionEvent e)
e - The occured ActionEventprivate void creatDialog(Color color)
color - The color to start withpublic void dialogAction(ActionEvent e)
e - The occured ActionEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||