org.gnu.gnome
public class HRef extends Button
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may have an equivalent
in java-gnome 4.0; have a look for
org.gnome.gnome.HRef
.
Constructor Summary | |
---|---|
HRef(String url, String lable)
Creates a new HRef with the given URL and label.
| |
HRef(Handle handle)
Construct a HRef using a handle to a native resource. |
Method Summary | |
---|---|
static HRef | getHRef(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
String | getText()
Returns the caption for the HRef.
|
static Type | getType()
Retrieve the runtime type used by the GLib library. |
String | getURL()
Returns the URL referenced by the HRef.
|
void | setText(String text)
Returns the caption for the HRef.
|
void | setURL(String url)
Returns the URL referenced by the HRef.
|
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Creates a new HRef with the given URL and label.Parameters: url The URL to show in the web browser when the HRef is clicked. lable The caption for the HRef.
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Construct a HRef using a handle to a native resource.Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Internal static factory method to be used by Java-Gnome only.Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Returns the caption for the HRef.Returns: The text displayed by the HRef.
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Returns the URL referenced by the HRef.Returns: The url to show when the HRef is clicked.
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Returns the caption for the HRef.Parameters: text The text displayed by the HRef.
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Returns the URL referenced by the HRef.Parameters: url The url to show when the HRef is clicked.