gnu.javax.swing.plaf.gnu
Class GNULookAndFeel
- Serializable
UIDefaults | getDefaults()- Creates and returns a new instance of the default resources for this look
and feel.
|
String | getDescription()- Returns a description of the look and feel.
|
String | getID()- Returns an identifier for the look and feel.
|
String | getName()- Returns the name for the look and feel.
|
boolean | isNativeLookAndFeel()- Returns
true if the look-and-feel is the "native"
look-and-feel for the current platform, and false otherwise.
|
boolean | isSupportedLookAndFeel()- Returns
true if the look-and-feel is supported on the
current operating system, and false otherwise.
|
getDefaults, getDescription, getDesktopPropertyValue, getID, getName, getSupportsWindowDecorations, initialize, installBorder, installColors, installColorsAndFont, installProperty, isNativeLookAndFeel, isSupportedLookAndFeel, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninitialize, uninstallBorder |
clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait |
getID
public String getID()
Returns an identifier for the look and feel.
- getID in interface LookAndFeel
- An identifier for the look and feel.
isNativeLookAndFeel
public boolean isNativeLookAndFeel()
Returns true if the look-and-feel is the "native"
look-and-feel for the current platform, and false otherwise.
A native look-and-feel emulates the appearance and behaviour of the
default windowing system on the host operating system.
- isNativeLookAndFeel in interface LookAndFeel
- A flag indicating whether or not this is the native look and feel
for the current platform.
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()
Returns true if the look-and-feel is supported on the
current operating system, and false otherwise. This
mechanism is provided so that it is possible to prevent a look-and-feel
from being used on some operating systems (usually for legal, not
technical, reasons).
- isSupportedLookAndFeel in interface LookAndFeel
- A flag indicating whether or not the look-and-feel is supported
on the current platform.
GNULookAndFeel.java -- An example of using the javax.swing UI.
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath examples.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.