ColorButtonWithClient Class Reference
[Easy Palettes]

Inherits ADSwatchCanvas, and PaletteResultClient.

Inheritance diagram for ColorButtonWithClient:

Inheritance graph
[legend]
Collaboration diagram for ColorButtonWithClient:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void AlignRightOfCanvas (boolean alignRight=true)
void Constructor ()
void MovePopupRelative ()
void ReceivePaletteResult (Window palette, Variant result)
Color SelectedColor ()
void Setup (Color initialColor, PaletteResultClient updateSomething=nil)
void SwatchColor (Color inColor)
Color SwatchColor ()
void SwatchColor (Color assigns inColor)

Protected Member Functions

Boolean BoundsCheck (integer inX, integer inY)
void PaintSwatch (Graphics g)

Package Attributes

boolean mAlignRightOfCanvas
Color mColor
boolean mIsPressed
boolean mStayInsideWindow
PaletteResultClient mUpdates
FSPopupWindow PopupWindow

Private Member Functions

Events
bool MouseDown ()
bool MouseUp ()
bool Open ()

Member Function Documentation

void ADSwatchCanvas.AlignRightOfCanvas ( boolean  alignRight = true  )  [inherited]

Boolean ADSwatchCanvas.BoundsCheck ( integer  inX,
integer  inY 
) [protected, inherited]

void ColorButtonWithClient.Constructor (  ) 

Reimplemented from ADSwatchCanvas.

bool ColorButtonWithClient.MouseDown (  )  [private]

Reimplemented from ADSwatchCanvas.

bool ColorButtonWithClient.MouseUp (  )  [private]

Reimplemented from ADSwatchCanvas.

void ADSwatchCanvas.MovePopupRelative (  )  [inherited]

bool ColorButtonWithClient.Open (  )  [private]

Reimplemented from ADSwatchCanvas.

void ADSwatchCanvas.PaintSwatch ( Graphics  g  )  [protected, inherited]

Reimplemented in ADOutlineSwatchCanvas.

void ColorButtonWithClient.ReceivePaletteResult ( Window  palette,
Variant  result 
)

Color ColorButtonWithClient.SelectedColor (  ) 

void ColorButtonWithClient.Setup ( Color  initialColor,
PaletteResultClient  updateSomething = nil 
)

void ADSwatchCanvas.SwatchColor ( Color  inColor  )  [inherited]

Color ADSwatchCanvas.SwatchColor (  )  [inherited]

void ADSwatchCanvas.SwatchColor ( Color assigns  inColor  )  [inherited]


Member Data Documentation

boolean ADSwatchCanvas.mAlignRightOfCanvas [package, inherited]

Color ADSwatchCanvas.mColor [package, inherited]

boolean ADSwatchCanvas.mIsPressed [package, inherited]

boolean ADSwatchCanvas.mStayInsideWindow [package, inherited]

PaletteResultClient ColorButtonWithClient.mUpdates [package]

FSPopupWindow ADSwatchCanvas.PopupWindow [package, inherited]


The documentation for this class was generated from the following file:
Generated on Sat Nov 11 10:53:03 2006 for mf2 by  doxygen 1.5.1