| java.lang.Object org.netbeans.modules.visualweb.gravy.model.navigation.LinkManager
LinkManager | public class LinkManager (Code) | | Class for link managers.
|
Constructor Summary | |
public | LinkManager(Project project) Create new LinkManager for the project. |
LinkManager | public LinkManager(Project project)(Code) | | Create new LinkManager for the project.
|
changeName | public void changeName(Link link, String name)(Code) | | Change link's name.
Parameters: link - Link for modification. Parameters: name - New link's name. |
changeSource | public void changeSource(Link link, LinkableSource source)(Code) | | Change link's source.
Parameters: link - Link for modification. Parameters: source - New LinkableSource which link should link to. |
changeTarget | public void changeTarget(Link link, LinkableTarget target)(Code) | | Change link's target.
Parameters: link - Link for modification. Parameters: target - New LinkableTarget which link should link from. |
createLink | public Link createLink(LinkableSource source, LinkableTarget target, String name)(Code) | | Create link with specified parameters.
Parameters: source - LinkableSource which link link to. Parameters: target - LinkableTaget which link link from. Parameters: name - Link's name. Created link. |
deleteLink | public void deleteLink(Link link)(Code) | | Remove link.
Parameters: link - Link which should be removed. |
getFromLinks | public Link[] getFromLinks(LinkableSource source)(Code) | | Return all links with specified source.
Parameters: source - LinkableSource which links link to. Array of links. |
getLinks | public Link[] getLinks()(Code) | | Return all links.
|
getToLinks | public Link[] getToLinks(LinkableTarget target)(Code) | | Return all links with specified target.
Parameters: target - LinkableTarget which links link from. Array of links. |
|
|