![]() ![]() Methods inherited from class javax.swing.Resets the UI property to a value from the current look and feel. Constructor Summary Constructors Constructor and Description.ImageObserver ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH 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 javax.swing.Component accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT JComponent listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW Fields inherited from class javax.swing.Component Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy ![]() Nested classes/interfaces inherited from class java.awt.Container Container.AccessibleAWTContainer JComponent JComponent.AccessibleJComponent Nested classes/interfaces inherited from class javax.swing.The class used to obtain the accessible role for this object. 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. Should appear between the text and the image. At present, the defaultĬomponentOrientation setting maps the leading edge to left and the trailingįinally, you can use the setIconTextGap method With the text and image vertically aligned.Ī label's leading and trailing edge are determined from the value of itsĬomponentOrientation property. You can also specify the position of the textīy default, text is on the trailing edge of the image, Image-only labels are horizontally centered, by default. Text-only labels are leading edge aligned, by default You can specify where in the label's display areaīy setting the vertical and horizontal alignment.īy default, labels are vertically centered That has a keyboard alternative but can't display it. A display area for a short text string or an image,Īs a result, it cannot get the keyboard focus.Ī label can, however, display a keyboard alternative
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |