de.fhg.igd.earth.model.graph
Class Background

java.lang.Object
  extended byde.fhg.igd.earth.model.graph.ProjectorObject
      extended byde.fhg.igd.earth.model.graph.ModelGraphObject
          extended byde.fhg.igd.earth.model.graph.Node
              extended byde.fhg.igd.earth.model.graph.Leaf
                  extended byde.fhg.igd.earth.model.graph.Background
All Implemented Interfaces:
Cloneable, Serializable

public class Background
extends Leaf

This class represents a background object. UNDER CONSTRUCTION Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG

Version:
: 1.0
Author:
: Werner Beutel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.fhg.igd.earth.model.graph.Leaf
 
Fields inherited from class de.fhg.igd.earth.model.graph.Node
boundless_, collidable_, icon_, parent_, pickable_
 
Fields inherited from class de.fhg.igd.earth.model.graph.ModelGraphObject
CHANGE_AddChild, CHANGE_Anything, CHANGE_Appearance, CHANGE_Color, CHANGE_Create, CHANGE_Delete, CHANGE_Focus, CHANGE_HistoryGroup, CHANGE_InfoTable, CHANGE_Object, CHANGE_RemoveChild, CHANGE_Shape, CHANGE_Trace, CHANGE_Update, CHANGE_Visibility, changes_, infoTable_, mutable_, name_, subChanges_, SUBTYPE_BackGround, SUBTYPE_Box, SUBTYPE_BranchGroup, SUBTYPE_Cone, SUBTYPE_Cylinder, SUBTYPE_DetailGroup, SUBTYPE_DistanceDetailGroup, SUBTYPE_Group, SUBTYPE_HistoryGroup, SUBTYPE_LatchGroup, SUBTYPE_ModelGraph, SUBTYPE_Polygon, SUBTYPE_Primitive, SUBTYPE_Sphere, SUBTYPE_Text, SUBTYPE_TransformGroup, SUBTYPE_WireBoxGroup, timeStamp_, trace_, traceable_, TYPE_Group, TYPE_Leaf
 
Fields inherited from class de.fhg.igd.earth.model.graph.ProjectorObject
projectorObject_
 
Constructor Summary
Background()
           
 
Method Summary
protected  void calcBoundingBox(cBoundingBox boundingBox)
          Calculates the bounding box of this node.
 int getSubType()
          Returns the subtype of this object
 int getType()
          Returns the type of this object
 boolean setColor(Color c)
          Sets the color of all leafs.
 boolean setHighLight(boolean on)
          Sets the HighLight flag of all leafs.
 
Methods inherited from class de.fhg.igd.earth.model.graph.Leaf
clone, createLeafList, createSubGroupList, createSubNodeList, detach, getVisible, searchDown, searchDown, searchDown, searchDown, searchDownInserter, searchDownInserter, setMutable, setVisible
 
Methods inherited from class de.fhg.igd.earth.model.graph.Node
broadcastCreation, broadcastResetChanges, createParentGroupList, delete, delete, getBoundingBox, getBoundless, getBranchGroup, getCollidable, getGroup, getIcon, getLeafList, getModelGraph, getParent, getParentGroupList, getPickable, getSubGroupList, getSubNodeList, isFocused, move, move, moveTo, publishChanges, resetProjectorObject, searchUp, searchUp, searchUp, searchUp, setBoundless, setCollidable, setIcon, setParent, setPickable
 
Methods inherited from class de.fhg.igd.earth.model.graph.ModelGraphObject
anyChanges, anySubChanges, getChanges, getChanges, getInfoTable, getInfoTableElements, getInfoTableKeys, getInfoTableSize, getInfoTableValues, getMutable, getName, getSubChanges, getSubChanges, getSubTypeName, getTimeStamp, getTrace, getTraceable, putInfo, resetChanges, setChanges, setInfoTable, setName, setSubChanges, setTrace, VectorClone
 
Methods inherited from class de.fhg.igd.earth.model.graph.ProjectorObject
getProjectorObject, setProjectorObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Background

public Background()
Method Detail

getType

public int getType()
Description copied from class: ModelGraphObject
Returns the type of this object

Specified by:
getType in class ModelGraphObject
Returns:
type of this object

getSubType

public int getSubType()
Description copied from class: ModelGraphObject
Returns the subtype of this object

Specified by:
getSubType in class ModelGraphObject
Returns:
subtype of this object

calcBoundingBox

protected void calcBoundingBox(cBoundingBox boundingBox)
Description copied from class: Node
Calculates the bounding box of this node. This method is used by getBoundingBox().

Specified by:
calcBoundingBox in class Node
Parameters:
boundingBox - which will be combined with

setColor

public boolean setColor(Color c)
Description copied from class: Node
Sets the color of all leafs.

Specified by:
setColor in class Node
Parameters:
c - Color
Returns:
true on success

setHighLight

public boolean setHighLight(boolean on)
Description copied from class: Node
Sets the HighLight flag of all leafs. (under construction)

Specified by:
setHighLight in class Node
Parameters:
on - The new HighLight flag
Returns:
true on success


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.