|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
javax.swing.JCheckBox
com.ebay.sdk.helper.ui.JIDCheckBox
public class JIDCheckBox
A class to create a check box that can be identified by its id.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JCheckBox |
---|
JCheckBox.AccessibleJCheckBox |
Nested classes/interfaces inherited from class javax.swing.JToggleButton |
---|
JToggleButton.AccessibleJToggleButton, JToggleButton.ToggleButtonModel |
Nested classes/interfaces inherited from class javax.swing.AbstractButton |
---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JCheckBox |
---|
BORDER_PAINTED_FLAT_CHANGED_PROPERTY |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
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 |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
JIDCheckBox()
Creates an initially unselected check box button with no id, no text, no icon. |
|
JIDCheckBox(String id,
Action a)
Creates a check box with an id and properties taken from the Action supplied. |
|
JIDCheckBox(String id,
Icon icon)
Creates an initially unselected check box with an id and icon. |
|
JIDCheckBox(String id,
Icon icon,
boolean selected)
Creates a check box with an id, an icon and specifies whether or not it is initially selected. |
|
JIDCheckBox(String id,
String text)
Creates an initially unselected check box with an id and text. |
|
JIDCheckBox(String id,
String text,
boolean selected)
Creates a check box with an id and text, and specifies whether or not it is initially selected. |
|
JIDCheckBox(String id,
String text,
Icon icon)
Creates an initially unselected check box with an id, text and icon. |
|
JIDCheckBox(String id,
String text,
Icon icon,
boolean selected)
Creates a check box with id, text and icon, and specifies whether or not it is initially selected. |
Method Summary | |
---|---|
String |
getId()
Return the id of this check box. |
void |
setId(String id)
Set the id for this check box. |
Methods inherited from class javax.swing.JCheckBox |
---|
getAccessibleContext, getUIClassID, isBorderPaintedFlat, paramString, setBorderPaintedFlat, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JIDCheckBox()
public JIDCheckBox(String id, Icon icon)
id
- Stringicon
- Iconpublic JIDCheckBox(String id, Icon icon, boolean selected)
id
- Stringicon
- the Icon image to displayselected
- a boolean value indicating the initial selection
state. If true
the check box is selectedpublic JIDCheckBox(String id, String text)
id
- Stringtext
- the text of the check box.public JIDCheckBox(String id, Action a)
id
- Stringa
- Actionpublic JIDCheckBox(String id, String text, boolean selected)
id
- Stringtext
- the text of the check box.selected
- a boolean value indicating the initial selection
state. If true
the check box is selectedpublic JIDCheckBox(String id, String text, Icon icon)
id
- Stringtext
- the text of the check box.icon
- the Icon image to displaypublic JIDCheckBox(String id, String text, Icon icon, boolean selected)
id
- Stringtext
- the text of the check box.icon
- the Icon image to displayselected
- a boolean value indicating the initial selection
state. If true
the check box is selectedMethod Detail |
---|
public void setId(String id)
id
- Stringpublic String getId()
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The information contained in this document is proprietary and confidential.
Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc.
For information regarding a qualifying NDA, contact Developer Relations:
developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.