jaxx.runtime.swing
Class HidorButton
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
jaxx.runtime.swing.HidorButton
- All Implemented Interfaces:
- ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants, JAXXContext, JAXXObject
public class HidorButton
- extends JToggleButton
- implements JAXXObject
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractButton |
actionListener, BORDER_PAINTED_CHANGED_PROPERTY, changeEvent, changeListener, CONTENT_AREA_FILLED_CHANGED_PROPERTY, DISABLED_ICON_CHANGED_PROPERTY, DISABLED_SELECTED_ICON_CHANGED_PROPERTY, FOCUS_PAINTED_CHANGED_PROPERTY, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, ICON_CHANGED_PROPERTY, itemListener, MARGIN_CHANGED_PROPERTY, MNEMONIC_CHANGED_PROPERTY, model, MODEL_CHANGED_PROPERTY, PRESSED_ICON_CHANGED_PROPERTY, ROLLOVER_ENABLED_CHANGED_PROPERTY, ROLLOVER_ICON_CHANGED_PROPERTY, ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, SELECTED_ICON_CHANGED_PROPERTY, TEXT_CHANGED_PROPERTY, VERTICAL_ALIGNMENT_CHANGED_PROPERTY, VERTICAL_TEXT_POSITION_CHANGED_PROPERTY |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Methods inherited from class javax.swing.AbstractButton |
actionPropertyChanged, addActionListener, addChangeListener, addImpl, addItemListener, checkHorizontalKey, checkVerticalKey, configurePropertiesFromAction, createActionListener, createActionPropertyChangeListener, createChangeListener, createItemListener, doClick, doClick, fireActionPerformed, fireItemStateChanged, fireStateChanged, getAction, getActionCommand, getActionListeners, getChangeListeners, getDisabledIcon, getDisabledSelectedIcon, getDisplayedMnemonicIndex, getHideActionText, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getItemListeners, getLabel, getMargin, getMnemonic, getModel, getMultiClickThreshhold, getPressedIcon, getRolloverIcon, getRolloverSelectedIcon, getSelectedIcon, getSelectedObjects, getText, getUI, getVerticalAlignment, getVerticalTextPosition, imageUpdate, init, isBorderPainted, isContentAreaFilled, isFocusPainted, isRolloverEnabled, isSelected, paintBorder, removeActionListener, removeChangeListener, removeItemListener, removeNotify, setAction, setActionCommand, setBorderPainted, setContentAreaFilled, setDisabledIcon, setDisabledSelectedIcon, setDisplayedMnemonicIndex, setEnabled, setFocusPainted, setHideActionText, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabel, setLayout, setMargin, setMnemonic, setMnemonic, setModel, setMultiClickThreshhold, setPressedIcon, setRolloverEnabled, setRolloverIcon, setRolloverSelectedIcon, setSelected, setSelectedIcon, setText, setUI, setVerticalAlignment, setVerticalTextPosition |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
PROPERTY_HIDE_TEXT
public static final String PROPERTY_HIDE_TEXT
- See Also:
- Constant Field Values
PROPERTY_HIDE_TIP
public static final String PROPERTY_HIDE_TIP
- See Also:
- Constant Field Values
PROPERTY_SHOW_TEXT
public static final String PROPERTY_SHOW_TEXT
- See Also:
- Constant Field Values
PROPERTY_SHOW_TIP
public static final String PROPERTY_SHOW_TIP
- See Also:
- Constant Field Values
PROPERTY_TARGET_VISIBLE
public static final String PROPERTY_TARGET_VISIBLE
- See Also:
- Constant Field Values
BINDING_HIDOR_ICON
public static final String BINDING_HIDOR_ICON
- See Also:
- Constant Field Values
BINDING_HIDOR_TEXT
public static final String BINDING_HIDOR_TEXT
- See Also:
- Constant Field Values
BINDING_HIDOR_TOOL_TIP_TEXT
public static final String BINDING_HIDOR_TOOL_TIP_TEXT
- See Also:
- Constant Field Values
$activeBindings
protected List<Object> $activeBindings
$bindingSources
protected Map<String,Object> $bindingSources
$bindings
protected final Map<String,JAXXBinding> $bindings
$objectMap
protected Map<String,Object> $objectMap
$previousValues
protected Map<?,?> $previousValues
delegateContext
protected final JAXXContext delegateContext
hideText
protected String hideText
hideTip
protected String hideTip
hidor
protected HidorButton hidor
showText
protected String showText
showTip
protected String showTip
targetVisible
protected Boolean targetVisible
target
protected JComponent target
HidorButton
public HidorButton()
HidorButton
public HidorButton(JAXXContext parentContext)
getTarget
public JComponent getTarget()
setTarget
public void setTarget(JComponent target)
setExpandIcon
public void setExpandIcon(Icon icon)
setHideIcon
public void setHideIcon(Icon icon)
updateToolTipText
protected String updateToolTipText(boolean c)
updateText
protected String updateText(boolean c)
updateIcon
protected Icon updateIcon(boolean c)
$getJAXXObjectDescriptor
public static JAXXObjectDescriptor $getJAXXObjectDescriptor()
applyDataBinding
public void applyDataBinding(String $binding)
- Specified by:
applyDataBinding in interface JAXXObject
firePropertyChange
public void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
- Specified by:
firePropertyChange in interface JAXXObject- Overrides:
firePropertyChange in class Component
get$objectMap
public Map<String,Object> get$objectMap()
- Specified by:
get$objectMap in interface JAXXObject
getDataBindings
public JAXXBinding[] getDataBindings()
- Specified by:
getDataBindings in interface JAXXObject
getObjectById
public Object getObjectById(String id)
- Specified by:
getObjectById in interface JAXXObject
processDataBinding
public void processDataBinding(String $binding,
boolean $force)
- Specified by:
processDataBinding in interface JAXXObject
processDataBinding
public void processDataBinding(String $binding)
- Specified by:
processDataBinding in interface JAXXObject
registerDataBinding
public void registerDataBinding(JAXXBinding binding)
- Specified by:
registerDataBinding in interface JAXXObject
removeDataBinding
public void removeDataBinding(String $binding)
- Specified by:
removeDataBinding in interface JAXXObject
getContextValue
public <T> T getContextValue(Class<T> clazz)
- Specified by:
getContextValue in interface JAXXContext
getContextValue
public <T> T getContextValue(Class<T> clazz,
String name)
- Specified by:
getContextValue in interface JAXXContext
getDelegateContext
public JAXXContext getDelegateContext()
- Specified by:
getDelegateContext in interface JAXXObject
getParentContainer
public <O extends Container> O getParentContainer(Class<O> clazz)
- Specified by:
getParentContainer in interface JAXXObject
getParentContainer
public <O extends Container> O getParentContainer(Object source,
Class<O> clazz)
- Specified by:
getParentContainer in interface JAXXObject
removeContextValue
public <T> void removeContextValue(Class<T> clazz)
- Specified by:
removeContextValue in interface JAXXContext
removeContextValue
public <T> void removeContextValue(Class<T> clazz,
String name)
- Specified by:
removeContextValue in interface JAXXContext
setContextValue
public <T> void setContextValue(T o)
- Specified by:
setContextValue in interface JAXXContext
setContextValue
public <T> void setContextValue(T o,
String name)
- Specified by:
setContextValue in interface JAXXContext
doActionPerformed__on__hidor
public void doActionPerformed__on__hidor(ActionEvent event)
getHideText
public String getHideText()
getHideTip
public String getHideTip()
getShowText
public String getShowText()
getShowTip
public String getShowTip()
getTargetVisible
public Boolean getTargetVisible()
isTargetVisible
public Boolean isTargetVisible()
setHideText
public void setHideText(String newValue)
setHideTip
public void setHideTip(String newValue)
setShowText
public void setShowText(String newValue)
setShowTip
public void setShowTip(String newValue)
setTargetVisible
public void setTargetVisible(Boolean newValue)
createHideText
protected void createHideText()
createHideTip
protected void createHideTip()
createShowText
protected void createShowText()
createShowTip
protected void createShowTip()
createTargetVisible
protected void createTargetVisible()
Copyright © 2008-2010 CodeLutin. All Rights Reserved.