| java.lang.Object org.netbeans.modules.visualweb.gravy.model.project.SourceFile org.netbeans.modules.visualweb.gravy.model.project.JSPFile org.netbeans.modules.visualweb.gravy.model.project.WebPage
Method Summary | |
public Component | add(WebComponent webcomponent) Return added component.
Parameters: webcomponent - Component in palette to add. | public Component | add(WebComponent webcomponent, Point point) Return added component.
Parameters: webcomponent - Component in palette to add. Parameters: point - Point to place component. | public Component | add(WebComponent webcomponent, Point point, String name) Return added component.
Parameters: webcomponent - Component in palette to add. Parameters: point - Point to place component. Parameters: name - Name of component. | public void | close() Close web page file. | public Component | getComponent(int index) Return component on web page with specified index.
Parameters: index - Index of necessary component. | public Component | getComponent(Component type, int index) Return component on web page with specified type and index.
Parameters: index - Index of necessary component. Parameters: type - Type of necessary component. | public Component | getComponent(String ID) Return component on web page with specified ID.
Parameters: ID - ID of necessary component. | public Component[] | getComponents() Return all component on web page. | public JavaFile | getJavaFile() Get Java file for this web page. | public String | getLinkableSourceName() Get name of linkable source web page. | public String | getLinkableTargetName() Get name of linkable target web page. | public void | open() Open web page file. |
WebPage | WebPage(TreePath path, String name, ProjectEntry parent)(Code) | | Creates a new instance of web page.
Parameters: path - Path to web page in project. Parameters: name - Name of web page. |
add | public Component add(WebComponent webcomponent)(Code) | | Return added component.
Parameters: webcomponent - Component in palette to add. Component which was added. |
add | public Component add(WebComponent webcomponent, Point point)(Code) | | Return added component.
Parameters: webcomponent - Component in palette to add. Parameters: point - Point to place component. Component which was added. |
add | public Component add(WebComponent webcomponent, Point point, String name)(Code) | | Return added component.
Parameters: webcomponent - Component in palette to add. Parameters: point - Point to place component. Parameters: name - Name of component. Component which was added. |
close | public void close()(Code) | | Close web page file.
|
getComponent | public Component getComponent(int index)(Code) | | Return component on web page with specified index.
Parameters: index - Index of necessary component. Component on web page with specified index. |
getComponent | public Component getComponent(Component type, int index)(Code) | | Return component on web page with specified type and index.
Parameters: index - Index of necessary component. Parameters: type - Type of necessary component. Component on web page with specified type and index. |
getComponent | public Component getComponent(String ID)(Code) | | Return component on web page with specified ID.
Parameters: ID - ID of necessary component. Component on web page with specified ID. |
getComponents | public Component[] getComponents()(Code) | | Return all component on web page.
Array of Component on web page. |
getJavaFile | public JavaFile getJavaFile()(Code) | | Get Java file for this web page.
Java file for this web page. |
getLinkableSourceName | public String getLinkableSourceName()(Code) | | Get name of linkable source web page.
Name of linkable source web page. |
getLinkableTargetName | public String getLinkableTargetName()(Code) | | Get name of linkable target web page.
Name of linkable target web page. |
open | public void open()(Code) | | Open web page file.
|
|
|