Deprecated
for removal since 13.
The Motif Look and Feel is deprecated with the intent to remove
it in some future release. It is recommended to use
javax. instead.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getDescription()
Implements abstract javax. Return a one line description of this look and feel implementation, e.g. "The CDE/Motif Look and Feel". |
| public String | getID()
Implements abstract javax. Return a string that identifies this look and feel. |
| public String | getName()
Implements abstract javax. Return a short string that identifies this look and feel, e.g. "CDE/Motif". |
| protected void | initClassDefaults(UIDefaults table)
Overrides javax. Populates |
| protected void | initComponentDefaults(UIDefaults table)
Overrides javax. Populates |
| private void | initResourceBundle(UIDefaults table)
Hides javax. Initialize the defaults table with the name of the ResourceBundle used for getting localized defaults. |
| protected void | initSystemColorDefaults(UIDefaults table)
Overrides javax. Load the SystemColors into the defaults table. |
| public boolean | isNativeLookAndFeel()
Implements abstract javax. If the underlying platform has a "native" look and feel, and
this is an implementation of it, return |
| public boolean | isSupportedLookAndFeel()
Implements abstract javax. Return |
| MotifLookAndFeel | back to summary |
|---|---|
| public MotifLookAndFeel() | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract javax. Doc from javax. Return a one line description of this look and feel implementation, e.g. "The CDE/Motif Look and Feel". This string is intended for the user, e.g. in the title of a window or in a ToolTip message.
| |
| getID | back to summary |
|---|---|
| public String getID() Implements abstract javax. Doc from javax. Return a string that identifies this look and feel. This string will be used by applications/services that want to recognize well known look and feel implementations. Presently the well known names are "Motif", "Windows", "Mac", "Metal". Note that a LookAndFeel derived from a well known superclass that doesn't make any fundamental changes to the look or feel shouldn't override this method.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract javax. Doc from javax. Return a short string that identifies this look and feel, e.g. "CDE/Motif". This string should be appropriate for a menu item. Distinct look and feels should have different names, e.g. a subclass of MotifLookAndFeel that changes the way a few components are rendered should be called "CDE/Motif My Way"; something that would be useful to a user trying to select a L&F from a list of names.
| |
| initClassDefaults | back to summary |
|---|---|
| protected void initClassDefaults(UIDefaults table) Overrides javax. Doc from javax. Populates
| |
| initComponentDefaults | back to summary |
|---|---|
| protected void initComponentDefaults(UIDefaults table) Overrides javax. Doc from javax. Populates
| |
| initResourceBundle | back to summary |
|---|---|
| private void initResourceBundle(UIDefaults table) Hides javax. Initialize the defaults table with the name of the ResourceBundle used for getting localized defaults. | |
| initSystemColorDefaults | back to summary |
|---|---|
| protected void initSystemColorDefaults(UIDefaults table) Overrides javax. Load the SystemColors into the defaults table. The keys for SystemColor defaults are the same as the names of the public fields in SystemColor. If the table is being created on a native Motif platform we use the SystemColor values, otherwise we create color objects whose values match the default CDE/Motif colors.
| |
| isNativeLookAndFeel | back to summary |
|---|---|
| public boolean isNativeLookAndFeel() Implements abstract javax. Doc from javax. If the underlying platform has a "native" look and feel, and
this is an implementation of it, return
| |
| isSupportedLookAndFeel | back to summary |
|---|---|
| public boolean isSupportedLookAndFeel() Implements abstract javax. Doc from javax. Return
| |