|
|||||||||
| Home >> All >> org >> fudaa >> ebli >> [ palette overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.fudaa.ebli.palette
Class BSelecteurReduitCouleur

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
org.fudaa.ebli.palette.BSelecteurReduitCouleur
- All Implemented Interfaces:
- java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.event.MouseListener, java.io.Serializable
- public class BSelecteurReduitCouleur
- extends javax.swing.JComponent
- implements java.awt.event.MouseListener
- extends javax.swing.JComponent
Un selecteur reduit (dans une palette) de couleur.
- Version:
- $Revision: 1.6 $ $Date: 2002/11/19 14:36:46 $ by $Author: deniger $
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
(package private) static int |
COLS
|
private static java.awt.Color[] |
couleurs_
|
private int |
indice_
|
private java.lang.String |
propertyName_
|
(package private) static int |
ROWS
|
| 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 | |
BSelecteurReduitCouleur()
|
|
| Method Summary | |
java.awt.Color |
getCouleur()
|
java.lang.String |
getPropertyName()
|
void |
mouseClicked(java.awt.event.MouseEvent ev)
This method is called when the mouse is clicked (pressed and released in short succession) on a component. |
void |
mouseEntered(java.awt.event.MouseEvent ev)
This method is called when the mouse enters a component. |
void |
mouseExited(java.awt.event.MouseEvent ev)
This method is called when the mouse exits a component. |
void |
mousePressed(java.awt.event.MouseEvent ev)
This method is called when the mouse is pressed over a component. |
void |
mouseReleased(java.awt.event.MouseEvent ev)
This method is called when the mouse is released over a component. |
void |
paint(java.awt.Graphics g)
Paint the component. |
void |
setCouleur(java.awt.Color _couleur)
|
void |
setPropertyName(java.lang.String _propertyName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
COLS
static final int COLS
- See Also:
- Constant Field Values
ROWS
static final int ROWS
- See Also:
- Constant Field Values
couleurs_
private static java.awt.Color[] couleurs_
propertyName_
private java.lang.String propertyName_
indice_
private int indice_
| Constructor Detail |
BSelecteurReduitCouleur
public BSelecteurReduitCouleur()
| Method Detail |
paint
public void paint(java.awt.Graphics g)
- Description copied from class:
javax.swing.JComponent Paint the component. This is a delicate process, and should only be called from the repaint thread, under control of the javax.swing.RepaintManager. Client code should usually call Component.repaint()>
Component.repaint()55 to trigger painting.The body of the
paintcall involves calling JComponent.paintComponent(java.awt.Graphics)>JComponent.paintComponent(java.awt.Graphics)55 , JComponent.paintBorder(java.awt.Graphics)>JComponent.paintBorder(java.awt.Graphics)55 , and JComponent.paintChildren(java.awt.Graphics)>JComponent.paintChildren(java.awt.Graphics)55 in order. If you want to customize painting behavior, you should override one of these methods rather thanpaint.For more details on the painting sequence, see this article.
getPropertyName
public java.lang.String getPropertyName()
setPropertyName
public void setPropertyName(java.lang.String _propertyName)
getCouleur
public java.awt.Color getCouleur()
setCouleur
public void setCouleur(java.awt.Color _couleur)
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent ev)
- Description copied from interface:
java.awt.event.MouseListener - This method is called when the mouse is clicked (pressed and released
in short succession) on a component.
- Specified by:
mouseClickedin interfacejava.awt.event.MouseListener
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent ev)
- Description copied from interface:
java.awt.event.MouseListener - This method is called when the mouse enters a component.
- Specified by:
mouseEnteredin interfacejava.awt.event.MouseListener
mouseExited
public void mouseExited(java.awt.event.MouseEvent ev)
- Description copied from interface:
java.awt.event.MouseListener - This method is called when the mouse exits a component.
- Specified by:
mouseExitedin interfacejava.awt.event.MouseListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent ev)
- Description copied from interface:
java.awt.event.MouseListener - This method is called when the mouse is pressed over a component.
- Specified by:
mousePressedin interfacejava.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent ev)
- Description copied from interface:
java.awt.event.MouseListener - This method is called when the mouse is released over a component.
- Specified by:
mouseReleasedin interfacejava.awt.event.MouseListener
|
|||||||||
| Home >> All >> org >> fudaa >> ebli >> [ palette overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC