Methods inherited from class javax.swing. Made the default button for its root pane. Which determines whether this button can be SetDefaultCapable(boolean defaultCapable) RootPane doesn't hold onto an invalid button reference. This button is currently set as the default button on the Overrides JComponent.removeNotify to check if This is invoked during a printing operation. Returns a string representation of this JButton. Property is true and the button has a border.Ĭalls the UI delegate's paint method, if the UI delegate Paint the button's border if BorderPainted Gets the value of the defaultCapable property. Which if true means that this button is the current Gets the value of the defaultButton property, SwingConstantsīOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WESTįields inherited from interface ĪBORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHĬreates a button with no set text or icon.Ĭreates a button where properties are taken from theĬreates a button with initial text and an icon.įactory method which sets the AbstractButton's propertiesĪccording to values from the Action instance. ListenerList, TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWįields inherited from class īOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTįields inherited from interface javax.swing. AbstractButtonĪctionListener, 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įields inherited from class javax.swing. AbstractButtonįields inherited from class javax.swing. Nested classes inherited from class javax.swing. Has been added to the java.beans package. The current serialization support isĪppropriate for short term storage or RMI between applications running Serialized objects of this class will not be compatible withįuture Swing releases. See How to Use Buttons, Check Boxes, and Radio Buttonsįor information and examples of using buttons. Public class JButton extends AbstractButton ![]() ![]() All Implemented Interfaces:, , java.io.Serializable, SwingConstants SUMMARY: NESTED | FIELD | CONSTR | METHOD Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.Ĭopyright © 2006 Sun Microsystems, Inc. JButton (Advanced Graphics and User Interface (AGUI) Optional Package for Java Platform, Micro Edition, revision 060829)
0 Comments
Leave a Reply. |