Java Doc for JCheckBox.java in  » Apache-Harmony-Java-SE » javax-package » javax » swing » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » javax package » javax.swing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JComponent
   javax.swing.AbstractButton
      javax.swing.JToggleButton
         javax.swing.JCheckBox

JCheckBox
public class JCheckBox extends JToggleButton (Code)

JCheckBox

Implementation Notes:

  • The serialVersionUID fields are explicitly declared as a performance optimization, not as a guarantee of serialization compatibility.

Inner Class :protected class AccessibleJCheckBox extends AccessibleJToggleButton

Field Summary
final public static  StringBORDER_PAINTED_FLAT_CHANGED_PROPERTY
    

Constructor Summary
public  JCheckBox()
    
public  JCheckBox(Action action)
    
public  JCheckBox(Icon icon)
    
public  JCheckBox(Icon icon, boolean selected)
    
public  JCheckBox(String text)
    
public  JCheckBox(String text, boolean selected)
    
public  JCheckBox(String text, Icon icon)
    
public  JCheckBox(String text, Icon icon, boolean selected)
    

Method Summary
 voidconfigurePropertyFromAction(Action action, Object propertyName)
    
public  AccessibleContextgetAccessibleContext()
    
 ObjectgetActionPropertiesFilter()
    
public  StringgetUIClassID()
    
protected  voidinit(String text, Icon icon)
    
public  booleanisBorderPaintedFlat()
    
public  voidsetBorderPaintedFlat(boolean paintedFlat)
    

Field Detail
BORDER_PAINTED_FLAT_CHANGED_PROPERTY
final public static String BORDER_PAINTED_FLAT_CHANGED_PROPERTY(Code)




Constructor Detail
JCheckBox
public JCheckBox()(Code)



JCheckBox
public JCheckBox(Action action)(Code)



JCheckBox
public JCheckBox(Icon icon)(Code)



JCheckBox
public JCheckBox(Icon icon, boolean selected)(Code)



JCheckBox
public JCheckBox(String text)(Code)



JCheckBox
public JCheckBox(String text, boolean selected)(Code)



JCheckBox
public JCheckBox(String text, Icon icon)(Code)



JCheckBox
public JCheckBox(String text, Icon icon, boolean selected)(Code)




Method Detail
configurePropertyFromAction
void configurePropertyFromAction(Action action, Object propertyName)(Code)



getAccessibleContext
public AccessibleContext getAccessibleContext()(Code)



getActionPropertiesFilter
Object getActionPropertiesFilter()(Code)



getUIClassID
public String getUIClassID()(Code)



init
protected void init(String text, Icon icon)(Code)



isBorderPaintedFlat
public boolean isBorderPaintedFlat()(Code)



setBorderPaintedFlat
public void setBorderPaintedFlat(boolean paintedFlat)(Code)



Methods inherited from javax.swing.JToggleButton
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)

Fields inherited from javax.swing.AbstractButton
final public static String BORDER_PAINTED_CHANGED_PROPERTY(Code)(Java Doc)
final public static String CONTENT_AREA_FILLED_CHANGED_PROPERTY(Code)(Java Doc)
final public static String DISABLED_ICON_CHANGED_PROPERTY(Code)(Java Doc)
final public static String DISABLED_SELECTED_ICON_CHANGED_PROPERTY(Code)(Java Doc)
final public static String FOCUS_PAINTED_CHANGED_PROPERTY(Code)(Java Doc)
final public static String HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY(Code)(Java Doc)
final public static String HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY(Code)(Java Doc)
final public static String ICON_CHANGED_PROPERTY(Code)(Java Doc)
final public static String MARGIN_CHANGED_PROPERTY(Code)(Java Doc)
final public static String MNEMONIC_CHANGED_PROPERTY(Code)(Java Doc)
final public static String MODEL_CHANGED_PROPERTY(Code)(Java Doc)
final public static String PRESSED_ICON_CHANGED_PROPERTY(Code)(Java Doc)
final public static String ROLLOVER_ENABLED_CHANGED_PROPERTY(Code)(Java Doc)
final public static String ROLLOVER_ICON_CHANGED_PROPERTY(Code)(Java Doc)
final public static String ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY(Code)(Java Doc)
final public static String SELECTED_ICON_CHANGED_PROPERTY(Code)(Java Doc)
final public static String TEXT_CHANGED_PROPERTY(Code)(Java Doc)
final public static String VERTICAL_ALIGNMENT_CHANGED_PROPERTY(Code)(Java Doc)
final public static String VERTICAL_TEXT_POSITION_CHANGED_PROPERTY(Code)(Java Doc)
protected ActionListener actionListener(Code)(Java Doc)
protected transient ChangeEvent changeEvent(Code)(Java Doc)
protected ChangeListener changeListener(Code)(Java Doc)
protected ItemListener itemListener(Code)(Java Doc)
protected ButtonModel model(Code)(Java Doc)

Methods inherited from javax.swing.AbstractButton
public void addActionListener(ActionListener listener)(Code)(Java Doc)
public void addChangeListener(ChangeListener listener)(Code)(Java Doc)
public void addItemListener(ItemListener listener)(Code)(Java Doc)
protected int checkHorizontalKey(int key, String exceptionText)(Code)(Java Doc)
protected int checkVerticalKey(int key, String exceptionText)(Code)(Java Doc)
protected void configurePropertiesFromAction(Action action)(Code)(Java Doc)
void configurePropertyFromAction(Action action, Object propertyName)(Code)(Java Doc)
protected ActionListener createActionListener()(Code)(Java Doc)
protected PropertyChangeListener createActionPropertyChangeListener(Action action)(Code)(Java Doc)
protected ChangeListener createChangeListener()(Code)(Java Doc)
protected ItemListener createItemListener()(Code)(Java Doc)
public void doClick(int pressTime)(Code)(Java Doc)
public void doClick()(Code)(Java Doc)
protected void fireActionPerformed(ActionEvent event)(Code)(Java Doc)
protected void fireItemStateChanged(ItemEvent event)(Code)(Java Doc)
protected void fireStateChanged()(Code)(Java Doc)
public Action getAction()(Code)(Java Doc)
public String getActionCommand()(Code)(Java Doc)
public ActionListener[] getActionListeners()(Code)(Java Doc)
Object getActionPropertiesFilter()(Code)(Java Doc)
public ChangeListener[] getChangeListeners()(Code)(Java Doc)
public Icon getDisabledIcon()(Code)(Java Doc)
public Icon getDisabledSelectedIcon()(Code)(Java Doc)
public int getDisplayedMnemonicIndex()(Code)(Java Doc)
public int getHorizontalAlignment()(Code)(Java Doc)
public int getHorizontalTextPosition()(Code)(Java Doc)
public Icon getIcon()(Code)(Java Doc)
public int getIconTextGap()(Code)(Java Doc)
public ItemListener[] getItemListeners()(Code)(Java Doc)
public String getLabel()(Code)(Java Doc)
public Insets getMargin()(Code)(Java Doc)
public int getMnemonic()(Code)(Java Doc)
public ButtonModel getModel()(Code)(Java Doc)
public long getMultiClickThreshhold()(Code)(Java Doc)
public Icon getPressedIcon()(Code)(Java Doc)
public Icon getRolloverIcon()(Code)(Java Doc)
public Icon getRolloverSelectedIcon()(Code)(Java Doc)
public Icon getSelectedIcon()(Code)(Java Doc)
public Object[] getSelectedObjects()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public ButtonUI getUI()(Code)(Java Doc)
public int getVerticalAlignment()(Code)(Java Doc)
public int getVerticalTextPosition()(Code)(Java Doc)
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc)
protected void init(String text, Icon icon)(Code)(Java Doc)
public boolean isBorderPainted()(Code)(Java Doc)
public boolean isContentAreaFilled()(Code)(Java Doc)
public boolean isFocusPainted()(Code)(Java Doc)
boolean isMnemonicKeyStroke(KeyStroke keyStroke)(Code)(Java Doc)
public boolean isRolloverEnabled()(Code)(Java Doc)
public boolean isSelected()(Code)(Java Doc)
protected void paintBorder(Graphics g)(Code)(Java Doc)
boolean processMnemonics(KeyEvent event)(Code)(Java Doc)
public void removeActionListener(ActionListener listener)(Code)(Java Doc)
public void removeChangeListener(ChangeListener listener)(Code)(Java Doc)
public void removeItemListener(ItemListener listener)(Code)(Java Doc)
public void setAction(Action action)(Code)(Java Doc)
public void setActionCommand(String command)(Code)(Java Doc)
public void setBorderPainted(boolean painted)(Code)(Java Doc)
public void setContentAreaFilled(boolean filled)(Code)(Java Doc)
public void setDisabledIcon(Icon disabledIcon)(Code)(Java Doc)
public void setDisabledSelectedIcon(Icon disabledSelectedIcon)(Code)(Java Doc)
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setFocusPainted(boolean painted)(Code)(Java Doc)
public void setHorizontalAlignment(int alignment)(Code)(Java Doc)
public void setHorizontalTextPosition(int pos)(Code)(Java Doc)
public void setIcon(Icon icon)(Code)(Java Doc)
public void setIconTextGap(int gap)(Code)(Java Doc)
public void setLabel(String label)(Code)(Java Doc)
public void setMargin(Insets margin)(Code)(Java Doc)
public void setMnemonic(char keyChar)(Code)(Java Doc)
public void setMnemonic(int mnemonicCode)(Code)(Java Doc)
public void setModel(ButtonModel m)(Code)(Java Doc)
public void setMultiClickThreshhold(long threshold)(Code)(Java Doc)
public void setPressedIcon(Icon pressedIcon)(Code)(Java Doc)
public void setRolloverEnabled(boolean rollover)(Code)(Java Doc)
public void setRolloverIcon(Icon rolloverIcon)(Code)(Java Doc)
public void setRolloverSelectedIcon(Icon rolloverSelectedIcon)(Code)(Java Doc)
public void setSelected(boolean selected)(Code)(Java Doc)
public void setSelectedIcon(Icon selectedIcon)(Code)(Java Doc)
public void setText(String text)(Code)(Java Doc)
public void setUI(ButtonUI ui)(Code)(Java Doc)
public void setVerticalAlignment(int alignment)(Code)(Java Doc)
public void setVerticalTextPosition(int pos)(Code)(Java Doc)

Fields inherited from javax.swing.JComponent
final static String AUTOSCROLLS_PROPERTY_NAME(Code)(Java Doc)
final static String COMPONENT_POPUP_MENU_PROPERTY_NAME(Code)(Java Doc)
final static String INHERITS_POPUP_MENU_PROPERTY_NAME(Code)(Java Doc)
final static String NEXT_FOCUSABLE_PROPERTY_NAME(Code)(Java Doc)
final public static String TOOL_TIP_TEXT_KEY(Code)(Java Doc)
final static String UI_PROPERTY_NAME(Code)(Java Doc)
final public static int UNDEFINED_CONDITION(Code)(Java Doc)
final static String VERIFY_INPUT_PROPERTY_NAME(Code)(Java Doc)
final public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT(Code)(Java Doc)
final public static int WHEN_FOCUSED(Code)(Java Doc)
final public static int WHEN_IN_FOCUSED_WINDOW(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
final Set<String> installablePropertiesExcluded(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
protected transient ComponentUI ui(Code)(Java Doc)

Methods inherited from javax.swing.JComponent
public void addAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
final void componentInputMapChanged(ComponentInputMap map)(Code)(Java Doc)
public void computeVisibleRect(Rectangle rect)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public JToolTip createToolTip()(Code)(Java Doc)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
protected void fireVetoableChange(String property, Object oldValue, Object newValue) throws PropertyVetoException(Code)(Java Doc)
public ActionListener getActionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc)
final public ActionMap getActionMap()(Code)(Java Doc)
final ActionMap getActionMap(boolean forceCreate)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public AncestorListener[] getAncestorListeners()(Code)(Java Doc)
public boolean getAutoscrolls()(Code)(Java Doc)
public Border getBorder()(Code)(Java Doc)
public Rectangle getBounds(Rectangle bounds)(Code)(Java Doc)
final public Object getClientProperty(Object key)(Code)(Java Doc)
protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc)
public JPopupMenu getComponentPopupMenu()(Code)(Java Doc)
public int getConditionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc)
public int getDebugGraphicsOptions()(Code)(Java Doc)
public static Locale getDefaultLocale()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public boolean getInheritsPopupMenu()(Code)(Java Doc)
final public InputMap getInputMap(int condition)(Code)(Java Doc)
final public InputMap getInputMap()(Code)(Java Doc)
final InputMap getInputMap(int condition, boolean forceCreate)(Code)(Java Doc)
public InputVerifier getInputVerifier()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Insets getInsets(Insets insets)(Code)(Java Doc)
public T[] getListeners(Class<T> listenersClass)(Code)(Java Doc)
public Point getLocation(Point extLocation)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Component getNextFocusableComponent()(Code)(Java Doc)
public Point getPopupLocation(MouseEvent event)(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public Dimension getSize(Dimension extSize)(Code)(Java Doc)
public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public String getToolTipText(MouseEvent event)(Code)(Java Doc)
public Container getTopLevelAncestor()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc)
public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc)
public Rectangle getVisibleRect()(Code)(Java Doc)
public void grabFocus()(Code)(Java Doc)
boolean hasListener(Class<T> listenerType, EventListener l)(Code)(Java Doc)
boolean insideDoubleBuffering()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public static boolean isLightweightComponent(Component component)(Code)(Java Doc)
public boolean isManagingFocus()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isOptimizedDrawingEnabled()(Code)(Java Doc)
public boolean isPaintingTile()(Code)(Java Doc)
public boolean isRequestFocusEnabled()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
public void paint(Graphics graphics)(Code)(Java Doc)
protected void paintBorder(Graphics graphics)(Code)(Java Doc)
protected void paintChildren(Graphics graphics)(Code)(Java Doc)
protected void paintComponent(Graphics graphics)(Code)(Java Doc)
void paintDoubleBuffered(Graphics g)(Code)(Java Doc)
public void paintImmediately(Rectangle rect)(Code)(Java Doc)
public void paintImmediately(int x, int y, int width, int height)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void printBorder(Graphics g)(Code)(Java Doc)
protected void printChildren(Graphics g)(Code)(Java Doc)
protected void printComponent(Graphics g)(Code)(Java Doc)
protected void processComponentKeyEvent(KeyEvent event)(Code)(Java Doc)
protected boolean processKeyBinding(KeyStroke keyStroke, KeyEvent keyEvent, int condition, boolean pressed)(Code)(Java Doc)
static boolean processKeyBindings(KeyEvent event, Component source)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent event)(Code)(Java Doc)
final public void putClientProperty(Object key, Object value)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener action, String command, KeyStroke keyStroke, int condition)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener action, KeyStroke keyStroke, int condition)(Code)(Java Doc)
public void removeAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void repaint(Rectangle rect)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public boolean requestDefaultFocus()(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void resetKeyboardActions()(Code)(Java Doc)
public void revalidate()(Code)(Java Doc)
public void scrollRectToVisible(Rectangle rect)(Code)(Java Doc)
final public void setActionMap(ActionMap newActionMap)(Code)(Java Doc)
public void setAlignmentX(float alignment)(Code)(Java Doc)
public void setAlignmentY(float alignment)(Code)(Java Doc)
public void setAutoscrolls(boolean scrolls)(Code)(Java Doc)
public void setBorder(Border newBorder)(Code)(Java Doc)
public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc)
public void setDebugGraphicsOptions(int newDebugGraphicsOptions)(Code)(Java Doc)
public static void setDefaultLocale(Locale locale)(Code)(Java Doc)
public void setDoubleBuffered(boolean flag)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setInheritsPopupMenu(boolean value)(Code)(Java Doc)
final public void setInputMap(int condition, InputMap map)(Code)(Java Doc)
public void setInputVerifier(InputVerifier verifier)(Code)(Java Doc)
public void setNextFocusableComponent(Component component)(Code)(Java Doc)
public void setOpaque(boolean opaque)(Code)(Java Doc)
public void setRequestFocusEnabled(boolean enabled)(Code)(Java Doc)
public void setToolTipText(String text)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
protected void setUI(ComponentUI newUI)(Code)(Java Doc)
public void setVerifyInputWhenFocusTarget(boolean verifyInput)(Code)(Java Doc)
public void unregisterKeyboardAction(KeyStroke keyStroke)(Code)(Java Doc)
public void update(Graphics graphics)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.