FvUIBuffer Color chooser component dialog.
static public function getInstance():FvColorChooserReturns FvColorChooser instance.
Always returns the same instance.
Design Pattern Singleton.
FvColorChooser instance
public function connect(accessor:IAccessor, listenAdjustement:Boolean):VoidConnects Pixlib Accessor to selector.
When chooser is closed, result is automatically sent to accessor instance.
Example
var input : JTextField = new JTextField( "", 15 ); chooser.connect( AccessorFactory.getInstance( input, input.setText, input.getText ) ); chooser.open();
accessor | IAccessor instance ( take a look at Pixlib bourre.core package ) |
listenAdjustement | Indicates if result is passed only when color change ( default
behaviour == false or undefined, or if accessor listen the color
change and adjustement too true
|
public function updateUI():VoidResets the UI property to a value from the current look and feel.
public function getUIClassID():String
Returns the UIDefaults key used to
look up the name of the org.aswing.plaf.ComponentUI
class that defines the look and feel
for this component.
public function getCancelButton():FvButtonReturns the cancel button which use to cancel the choosing.