Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 actionPerformed, Jx. Action
 add
 addActionListener, Jx. Button
 addColorChangeListener
 addListener, Jx. Listener
 addPropertyChangeListener, Jx. Action
 addStyleSheet, Jx
 alphaChanged, Jx. ColorPanel
 applyPNGFilter, Jx
B
 bindTo, Jx. Action
C
 clickHandler, Jx. Button. Picker
 colorChanged
 contentLoaded, Jx. ContentLoader
 contentLoadFailed, Jx. ContentLoader
D
 deregisterIds, Jx. UniqueId
G
 getBorderBoxSize, Element
 getBorderSize, Element
 getContentBoxSize, Element
 getInsideWindowHeight, Element
 getInsideWindowWidth, Element
 getMarginSize, Element
 getNumber, Element
 getObj, Jx. UniqueId
 getPaddingSize, Element
 getPageDimensions, Element
H
 hide
I
 initialize
 initUniqueId, Jx. UniqueId
 isEnabled, Jx. Action
K
 keypressHandler, Jx. ColorPanel
L
 loadContent, Jx. ContentLoader
O
 onclick, Jx. Button
P
 processEvent, Jx. Listener
 propertyChanged, Jx. Button
R
 registerIds, Jx. UniqueId
 removeActionListener, Jx. Button
 removeColorChangeListener
 removeListener, Jx. Listener
 removePropertyChangeListener, Jx. Action
S
 setActiveButton, Jx. Button. Multi
 setAlpha
 setBorderBoxSize, Element
 setButton, Jx. Button. Multi
 setColor
 setContentBoxSize, Element
 setEnabled, Jx. Action
 setImage, Jx. Button
 setLabel, Jx. Button
 setTooltip, Jx. Button
 show
 swatchClick, Jx. ColorPanel
 swatchOver, Jx. ColorPanel
T
 toggleMeasurable, Element
U
 unbindFrom, Jx. Action
 updateButton, Jx. Button. Picker
 updateSelected, Jx. ColorPanel
actionPerformed : function(obj)
placeholder function to conform to the ActionListener interface.
add: function()
adds one or more buttons to the Multi button.
add: function()
adds one or more items to the picker, passed as separate arguments.
addActionListener: function(obj)
add an action listener to the button
addColorChangeListener: function(obj)
add a colour change listener, an object that has a colorChanged function.
addColorChangeListener: function(obj)
add a colour change listener, an object that has a colorChanged function.
addListener: function (list,
obj)
add a listener to the provided list.
addPropertyChangeListener: function(obj)
add a property change listener to this action.
Jx.addStyleSheet = function(styleSheet,
ieOnly)
Individual components of Jx call this function to get their style sheets imported at run time.
alphaChanged: function()
handle the user entering a new alpha value manually by updating the selected alpha if the entered value is valid alpha (0-100).
Jx.applyPNGFilter = function(o)
Static method that applies the PNG Filter Hack for IE browsers when showing 24bit PNG’s.
bindTo : function(item)
convenience function to bind an item to this action.
clickHandler: function(e)
handle the user selecting an item in the list
colorChanged: function(panel)
colorChangeListener callback function when the user changes the colour in the panel (just update the preview).
colorChanged: function()
handle the user entering a new colour value manually by updating the selected colour if the entered value is valid HEX.
contentLoaded: function(element,
options,
r)
callback function that handles remote content
contentLoadFailed: function(options,
r)
callback function that handles failure to load remote content
deregisterIds: function()
removes all registered ids
getBorderBoxSize: function(elem)
return the size of the border area of an element.
getBorderSize : function(elem)
returns the border size for each edge of an element
getContentBoxSize : function(elem)
return the size of the content area of an element.
getInsideWindowHeight: function()
returns the height of the browser client area
getInsideWindowWidth: function()
returns the width of the browser client area
getMarginSize : function(elem)
returns the margin size for each edge of an element
getNumber: function(n)
safely parse a number and return its integer value.
getObj: function(id)
return an object by id if it was previously registered
getPaddingSize : function (elem)
returns the padding for each edge of an element
getPageDimensions: function()
return the dimensions of the browser client area.
hide: function()
hide the colour panel
hide: function()
hide the panel
initialize: function(f)
construct a new instance of Jx.Action that invokes a function when activated
initialize : function(action,
options)
create a new button.
initialize: function(options)
initialize a new colour button.
initialize: function(options)
construct a new instance of a flyout button.
initialize: function(options)
construct a new instance of Jx.Button.Multi.
initialize: function()
construct a new instance of Jx.Button.Picker
initialize: function(options)
initialize a new instance of Jx.ColorPicker
initUniqueId: function()
initialize the UniqueId object.
isEnabled: function()
return whether the action is currently enabled or not.
keypressHandler: function(e)
handle the user pressing a key.
loadContent: function(element,
options)
triggers loading of content based on parameters passed in the options parameter.
onclick : function()
triggered when the user clicks the button, processes the actionPerformed event
processEvent: function(list,
fnName,
obj)
call each listener with a given method and event.
propertyChanged: function(obj)
implements the PropertyChangeListener interface for handling the enabled state changing on the action associated with this button
registerIds: function (aIds,
domObj)
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.
removeActionListener : function(obj)
remove an action listener from the button
removeColorChangeListener: function(obj)
remove a previously added colour change listener
removeColorChangeListener: function(obj)
remove a previously added colour change listener
removeListener: function(list,
obj)
remove a listener from the provided list.
removePropertyChangeListener: function(obj)
remove a property change listener from this action.
setActiveButton: function(button)
update the menu item to be the requested button.
setAlpha: function(alpha)
set the alpha represented by this colour panel
setAlpha: function(alpha)
set the alpha represented by this colour panel
setBorderBoxSize : function(elem,
size)
set either or both of the width and height of an element to the provided size.
setButton: function(button)
update the active button in the menu item, trigger the button’s action and hide the flyout that contains the buttons.
setColor: function(color)
set the colour represented by this colour panel
setColor: function(color)
set the colour represented by this colour panel
setContentBoxSize : function(elem,
size)
set either or both of the width and height of an element to the provided size.
setEnabled: function(b)
set the state of this action.
setImage: function(path)
set the image of this button to a new image URL
setLabel: function(label)
sets the text of the button.
setTooltip: function(tooltip)
sets the tooltip displayed by the button
show: function()
show the color panel when the user clicks the button
show: function()
show the panel
swatchClick: function(e)
handle mouse click on a swatch by updating the color and hiding the panel.
swatchOver: function(e)
handle the mouse moving over a colour swatch by updating the preview
toggleMeasurable: function(elem)
toggles an element’s display style property so it can be measured.
unbindFrom: function(item)
convenience function to undo a binding between an object and this action.
updateButton: function(a)
updates the button to contain the picked item
updateSelected: function()
update the colour panel user interface based on the current colour and alpha values