Function Index
placeholder function to conform to the ActionListener interface. adds one or more buttons to the Multi button. adds one or more items to the picker, passed as separate arguments. add an action listener to the button add a colour change listener, an object that has a colorChanged function. add a colour change listener, an object that has a colorChanged function. add a listener to the provided list. add a property change listener to this action. Individual components of Jx call this function to get their style sheets imported at run time. handle the user entering a new alpha value manually by updating the selected alpha if the entered value is valid alpha (0-100). Static method that applies the PNG Filter Hack for IE browsers when showing 24bit PNG’s. convenience function to bind an item to this action. handle the user selecting an item in the list colorChangeListener callback function when the user changes the colour in the panel (just update the preview). handle the user entering a new colour value manually by updating the selected colour if the entered value is valid HEX. callback function that handles remote content callback function that handles failure to load remote content removes all registered ids return the size of the border area of an element. returns the border size for each edge of an element return the size of the content area of an element. returns the height of the browser client area returns the width of the browser client area returns the margin size for each edge of an element safely parse a number and return its integer value. return an object by id if it was previously registered returns the padding for each edge of an element return the dimensions of the browser client area. hide the colour panel hide the panel construct a new instance of Jx.Action that invokes a function when activated create a new button. initialize a new colour button. construct a new instance of a flyout button. construct a new instance of Jx.Button.Multi. construct a new instance of Jx.Button.Picker initialize a new instance of Jx.ColorPicker initialize the UniqueId object. return whether the action is currently enabled or not. handle the user pressing a key. triggers loading of content based on parameters passed in the options parameter. triggered when the user clicks the button, processes the actionPerformed event call each listener with a given method and event. implements the PropertyChangeListener interface for handling the enabled state changing on the action associated with this button searches the domObj for each of the ids passed in and obtains a unique reference to them so that subsequent calls to getObj will return the right object. remove an action listener from the button remove a previously added colour change listener remove a previously added colour change listener remove a listener from the provided list. remove a property change listener from this action. update the menu item to be the requested button. set the alpha represented by this colour panel set the alpha represented by this colour panel set either or both of the width and height of an element to the provided size. update the active button in the menu item, trigger the button’s action and hide the flyout that contains the buttons. set the colour represented by this colour panel set the colour represented by this colour panel set either or both of the width and height of an element to the provided size. set the state of this action. set the image of this button to a new image URL sets the text of the button. sets the tooltip displayed by the button show the color panel when the user clicks the button show the panel handle mouse click on a swatch by updating the color and hiding the panel. handle the mouse moving over a colour swatch by updating the preview toggles an element’s display style property so it can be measured. convenience function to undo a binding between an object and this action. updates the button to contain the picked item update the colour panel user interface based on the current colour and alpha values |