|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.Bin
org.gnu.gtk.Button
org.gnu.gnome.HRef
The HRef widget displays a frameless button that, when selected, issues a command for the web browser to connect to a web site. The actual command to the browser is defined globally as the default member of URL Handler list in the GNOME Control Center.
Constructor Summary | |
HRef(org.gnu.glib.Handle handle)
Construct a HRef using a handle to a native resource. |
|
HRef(java.lang.String url,
java.lang.String lable)
Creates a new HRef with the given URL and label. |
Method Summary | |
java.lang.String |
getText()
Returns the caption for the HRef. |
static org.gnu.glib.Type |
getType()
Retrieve the runtime type used by the GLib library. |
java.lang.String |
getURL()
Returns the URL referenced by the HRef. |
void |
setText(java.lang.String text)
Returns the caption for the HRef. |
void |
setURL(java.lang.String url)
Returns the URL referenced by the HRef. |
Methods inherited from class org.gnu.gtk.Button |
addListener, click, enter, getEventListenerClass, getEventType, getFocusOnClick, getImage, getLabel, getRelief, getUseStock, getUseUnderline, getXAlignment, getYAlignment, leave, press, release, removeListener, setAlignment, setFocusOnClick, setImage, setLabel, setRelief, setUseStock, setUseUnderline |
Methods inherited from class org.gnu.gtk.Bin |
getChild |
Methods inherited from class org.gnu.gtk.Container |
add, addListener, getBorderWidth, getChildren, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, setResizeMode |
Methods inherited from class org.gnu.gtk.Widget |
activate, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, destroy, draw, drawArea, drawArea, finish, getAccessible, getColormap, getContext, getData, getDisplay, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight |
Methods inherited from class org.gnu.gtk.GtkObject |
sink |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, equals, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getNullHandle, getPixbufProperty, getProperty, getStringProperty, hashCode, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HRef(java.lang.String url, java.lang.String lable)
url
- The URL to show in the web browser when the HRef is clicked.lable
- The caption for the HRef.public HRef(org.gnu.glib.Handle handle)
Method Detail |
public java.lang.String getText()
public java.lang.String getURL()
public void setText(java.lang.String text)
text
- The text displayed by the HRef.public void setURL(java.lang.String url)
url
- The url to show when the HRef is clicked.public static org.gnu.glib.Type getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |