public class SoWWWAnchor extends SoLocateHighlight
File format/default:
WWWAnchor {
boundingBoxCaching | AUTO |
renderCulling | AUTO |
pickCulling | AUTO |
fastEditing | DISABLE |
mode | AUTO |
style | EMISSIVE |
color | 0.3 0.3 0.3 |
name | "<Undefined URL>" |
description | "" |
map | NONE |
Action behavior:
SoHandleEventAction
When the left mouse is clicked over a child of this anchor node, the application is called back to fetch the URL (see setFetchURLCallBack()).
See also:
Modifier and Type | Class and Description |
---|---|
static class |
SoWWWAnchor.Mappings
Mapping.
|
SoLocateHighlight.Modes, SoLocateHighlight.Styles
SoSeparator.Cachings, SoSeparator.FastEditings, SoSeparator.RenderUnitIds
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFString |
description
A description of the URL which may make more sense to users than the URL itself (e.g., "The VSG Home Page").
|
SoSFEnum<SoWWWAnchor.Mappings> |
map
Specifies what additional information should be added to the end of the URL when passed back to the application for fetching.
|
SoSFFilePathString |
name
URL which the application will be called back to fetch when this node is activated by a left mouse click (e.g., "http://www.openinventor.com/").
|
color, mode, style
boundingBoxCaching, fastEditing, pickCulling, renderCaching, renderCulling, renderUnitId
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoWWWAnchor()
Creates an anchor node with default settings.
|
Modifier and Type | Method and Description |
---|---|
static void |
enableEvents(boolean OnOffFlag) |
java.lang.String |
getFullURLName()
Returns the full URL set by
setFullURLName() , or if not set, returns the contents of the name field. |
void |
setFullURLName(java.lang.String url)
If the name field contains a relative URL (e.g., "foo.wrl" instead of "http://bogus.com/foo.wrl"), the anchor cannot resolve the URL reference.
|
turnOffCurrentHighlight
addChild, findChild, getChild, getNumChildren, insertChild, removeAllChildren, removeChild, removeChild, replaceChild, replaceChild
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoSFFilePathString name
public final SoSFString description
public final SoSFEnum<SoWWWAnchor.Mappings> map
public java.lang.String getFullURLName()
setFullURLName()
, or if not set, returns the contents of the name field.public void setFullURLName(java.lang.String url)
getFullURLName()
returns the fullURL set here, or if not set, returns the contents of the name field.public static void enableEvents(boolean OnOffFlag)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com