|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kaboum.geom.KaboumGeometryPropertiesDescriptor
public class KaboumGeometryPropertiesDescriptor
This class define geoObject "computational" properties: - Do the objects from this class participate in topological computation - Do the other objects must lie into this object - Are the objects from this class visible - ...
Constructor Summary | |
---|---|
KaboumGeometryPropertiesDescriptor(java.lang.String name)
Default constructor |
|
KaboumGeometryPropertiesDescriptor(java.lang.String name,
boolean visibility,
boolean topoComputation,
boolean surrounding,
boolean locking)
Constructor |
Method Summary | |
---|---|
void |
addItemToMenu(java.lang.String key,
java.lang.String value)
Add a new key/value menu to the contextual menu hash |
void |
clearMenu()
Clear the contextual menu |
java.util.Hashtable |
getMenuHash()
Get the menus hashtable |
java.lang.String |
getName()
Get name |
boolean |
isComputed()
Get Topological status |
boolean |
isLocked()
Get locking status |
boolean |
isSurrounding()
Get surrounding status |
boolean |
isVisible()
Get visibility |
void |
setComputation(boolean b)
|
void |
setLocking(boolean b)
|
void |
setSurrounding(boolean b)
|
void |
setVisibility(boolean b)
|
void |
write()
Really usefull for debugging |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KaboumGeometryPropertiesDescriptor(java.lang.String name)
public KaboumGeometryPropertiesDescriptor(java.lang.String name, boolean visibility, boolean topoComputation, boolean surrounding, boolean locking)
name
- Name of this classvisibility
- Set the visibility (paint) of the geometry classtopoComputation
- True: object is used in topological computationsurrounding
- True: with topo computation, other objects must be drawn inside this objectlocking
- True: objects from this geometry cannot be selectedMethod Detail |
---|
public java.lang.String getName()
public boolean isVisible()
public boolean isComputed()
public boolean isSurrounding()
public boolean isLocked()
public void setLocking(boolean b)
public void setSurrounding(boolean b)
public void setVisibility(boolean b)
public void setComputation(boolean b)
public java.util.Hashtable getMenuHash()
public void addItemToMenu(java.lang.String key, java.lang.String value)
key
- Menu keyvalue
- Menu valuepublic void clearMenu()
public void write()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |