|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.Boxed
org.gnu.gtk.IconSource
public class IconSource
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. |
java.lang.String |
getIconName()
Retrieves the source icon name, or NULL if none is set. |
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 |
setIconName(java.lang.String iconName)
Sets the name of an icon to look up in the current icon theme to use as a base image when creating icon variants for IconSet . |
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, getBoxedFromHandle, hashCode |
Methods inherited from class org.gnu.glib.Struct |
---|
getHandle, getNullHandle |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IconSource()
Method Detail |
---|
public void setFilename(java.lang.String filename)
public java.lang.String getFilename()
public void setPixbuf(Pixbuf pixbuf)
public Pixbuf getPixbuf()
public void setSize(IconSize iconSize)
public IconSize getSize()
public void setState(StateType state)
public StateType getState()
public void setDirection(TextDirection direction)
public TextDirection getDirection()
public void setIconName(java.lang.String iconName)
IconSet
.
public java.lang.String getIconName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |