gnu.x11
Class Fontable

java.lang.Object
  extended by gnu.x11.Resource
      extended by gnu.x11.Fontable
Direct Known Subclasses:
Font, GC

public abstract class Fontable
extends Resource

X fontable.


Nested Class Summary
 class Fontable.FontInfo
          Reply of info().
 class Fontable.TextExtentInfo
          Reply of text_extent(String).
 
Field Summary
 
Fields inherited from class gnu.x11.Resource
display, id
 
Constructor Summary
Fontable(Display display)
          Create.
Fontable(Display display, int id)
          Intern.
Fontable(int id)
          Predefined.
 
Method Summary
 Fontable.FontInfo info()
           
 Fontable.TextExtentInfo text_extent(java.lang.String s)
           
 
Methods inherited from class gnu.x11.Resource
id, unintern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fontable

public Fontable(int id)
Predefined.


Fontable

public Fontable(Display display)
Create.


Fontable

public Fontable(Display display,
                int id)
Intern.

Method Detail

info

public Fontable.FontInfo info()
See Also:
XQueryFont

text_extent

public Fontable.TextExtentInfo text_extent(java.lang.String s)
See Also:
XQueryTextExtents