gnu.x11
Class Font

java.lang.Object
  extended by gnu.x11.Resource
      extended by gnu.x11.Fontable
          extended by gnu.x11.Font

public class Font
extends Fontable

X font.


Nested Class Summary
 
Nested classes/interfaces inherited from class gnu.x11.Fontable
Fontable.FontInfo, Fontable.TextExtentInfo
 
Field Summary
 java.lang.String name
           
static Font NONE
          Predefined font.
 
Fields inherited from class gnu.x11.Resource
display, id
 
Constructor Summary
Font(Display display, java.lang.String name)
           
Font(int id)
          Predefined.
 
Method Summary
 void close()
           
 java.lang.String toString()
           
 
Methods inherited from class gnu.x11.Fontable
info, text_extent
 
Methods inherited from class gnu.x11.Resource
id, unintern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final Font NONE
Predefined font.

See Also:
Window.NONE

name

public java.lang.String name
Constructor Detail

Font

public Font(int id)
Predefined.


Font

public Font(Display display,
            java.lang.String name)
See Also:
XLoadFont
Method Detail

close

public void close()
See Also:
XFreeFont

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object