twaver.core.model
Interface IHost

All Superinterfaces:
IChildList, IData, Identifiable, IElement, IHandler<PropertyChangeEvent>, IListener<PropertyChangeEvent>, INode, twaver.core.topo.IPoint, IStyle
All Known Subinterfaces:
IGroup
All Known Implementing Classes:
Group

public interface IHost
extends INode

宿主接口,twaver内部使用


Method Summary
 boolean addFollower(Node child)
           
 HashList<Node> getFollowers()
           
 boolean hasFollowers()
           
 boolean removeFollower(Node child)
           
 
Methods inherited from interface twaver.core.model.INode
checkLinkAgent, getFromLinks, getLinks, getLoopedLinks, getSize, getToLinks
 
Methods inherited from interface twaver.core.model.IElement
getLayerId, getName, getUIClass, setLayerId
 
Methods inherited from interface twaver.core.model.IData
get, getProperties, remove, set
 
Methods inherited from interface twaver.model.Identifiable
getId
 
Methods inherited from interface twaver.event.IHandler
setListener
 
Methods inherited from interface twaver.event.IListener
beforeEvent, onEvent
 
Methods inherited from interface twaver.core.model.IChildList
addChild, addChild, clearChildren, getChildAt, getChildIndex, getChildren, getChildrenCount, getParent, hasChildren, isDescendantOf, onParentChanged, removeChild, setChildIndex, setParent, setParent, toChildren
 
Methods inherited from interface twaver.core.model.IStyle
getStyle, setStyle
 
Methods inherited from interface twaver.core.topo.IPoint
getLocation, getX, getY, setLocation
 

Method Detail

getFollowers

HashList<Node> getFollowers()

addFollower

boolean addFollower(Node child)

removeFollower

boolean removeFollower(Node child)

hasFollowers

boolean hasFollowers()