org.smartui.tool.uimaker
Class ColorDlg

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--org.smartui.SmartDialog
                                |
                                +--org.smartui.tool.uimaker.ColorDlg
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.io.Serializable, java.awt.event.TextListener

public class ColorDlg
extends SmartDialog
implements java.awt.event.ActionListener, java.awt.event.MouseMotionListener, java.awt.event.TextListener, java.awt.event.MouseListener

See Also:
Serialized Form

Inner classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Inner classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Field Summary
 boolean okclicked
           
 int status
           
 
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
ColorDlg(java.awt.Frame parent, boolean modal)
           
ColorDlg(java.awt.Frame parent, boolean modal, IntegerField ifdR, IntegerField ifdG, IntegerField ifdB, java.awt.Component cpSample)
           
ColorDlg(java.awt.Frame parent, java.lang.String title, boolean modal)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 java.awt.Rectangle getRectMain()
           
 java.awt.Rectangle getRectSub()
           
 void mouseClicked(java.awt.event.MouseEvent event)
           
 void mouseDragged(java.awt.event.MouseEvent event)
           
 void mouseEntered(java.awt.event.MouseEvent mouseevent)
           
 void mouseExited(java.awt.event.MouseEvent mouseevent)
           
 void mouseMoved(java.awt.event.MouseEvent mouseevent)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent mouseevent)
           
 void paint(java.awt.Graphics g)
           
 void setB(int B)
           
 void setG(int G)
           
 void setR(int R)
           
 void setXY(int x, int y)
           
 void setZ(int z)
           
 void textValueChanged(java.awt.event.TextEvent event)
           
 void update(java.awt.Graphics g)
           
 
Methods inherited from class org.smartui.SmartDialog
addNotify
 
Methods inherited from class java.awt.Dialog
dispose, getAccessibleContext, getTitle, hide, isModal, isResizable, paramString, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, finalize, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, processEvent, processWindowEvent, removeWindowListener, setCursor, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

okclicked

public boolean okclicked

status

public int status
Constructor Detail

ColorDlg

public ColorDlg(java.awt.Frame parent,
                java.lang.String title,
                boolean modal)

ColorDlg

public ColorDlg(java.awt.Frame parent,
                boolean modal)

ColorDlg

public ColorDlg(java.awt.Frame parent,
                boolean modal,
                IntegerField ifdR,
                IntegerField ifdG,
                IntegerField ifdB,
                java.awt.Component cpSample)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getRectMain

public java.awt.Rectangle getRectMain()

getRectSub

public java.awt.Rectangle getRectSub()

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent event)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent event)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent mouseevent)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent mouseevent)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent mouseevent)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent mouseevent)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class java.awt.Container

setB

public void setB(int B)

setG

public void setG(int G)

setR

public void setR(int R)

setXY

public void setXY(int x,
                  int y)

setZ

public void setZ(int z)

textValueChanged

public void textValueChanged(java.awt.event.TextEvent event)
Specified by:
textValueChanged in interface java.awt.event.TextListener

update

public void update(java.awt.Graphics g)
Overrides:
update in class java.awt.Container