org.gnu.gtk
Class IconSource

java.lang.Object
  |
  +--org.gnu.glib.Boxed
        |
        +--org.gnu.gtk.IconSource

public class IconSource
extends Boxed


Constructor Summary
IconSource()
          Construct a new IconSource object.
 
Method Summary
 TextDirection getDirection()
          Returns the text direction for the icon source.
 java.lang.String getFilename()
          Retrieves the source filename or null if one does not exist.
 Pixbuf getPixbuf()
          Retrieves the source pixbuf or null if one does not exist.
 IconSize getSize()
          Return the icon size.
 StateType getState()
          Return the icon state.
 void setDirection(TextDirection direction)
          Set the text direction the icon source is intended to be used with.
 void setFilename(java.lang.String filename)
          Sets the source filename
 void setPixbuf(Pixbuf pixbuf)
          Sets the source pixbuf.
 void setSize(IconSize iconSize)
          Set the icon size.
 void setState(StateType state)
          Set the icon state.
 
Methods inherited from class org.gnu.glib.Boxed
equals, getHandle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconSource

public IconSource()
Construct a new IconSource object.

Method Detail

setFilename

public void setFilename(java.lang.String filename)
Sets the source filename


getFilename

public java.lang.String getFilename()
Retrieves the source filename or null if one does not exist.


setPixbuf

public void setPixbuf(Pixbuf pixbuf)
Sets the source pixbuf.


getPixbuf

public Pixbuf getPixbuf()
Retrieves the source pixbuf or null if one does not exist.


setSize

public void setSize(IconSize iconSize)
Set the icon size.


getSize

public IconSize getSize()
Return the icon size.


setState

public void setState(StateType state)
Set the icon state.


getState

public StateType getState()
Return the icon state.


setDirection

public void setDirection(TextDirection direction)
Set the text direction the icon source is intended to be used with.


getDirection

public TextDirection getDirection()
Returns the text direction for the icon source.


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net