| java.lang.Object org.pentaho.designstudio.controls.XMLAwareControl org.pentaho.designstudio.controls.XMLAwareTextField
XMLAwareTextField | public class XMLAwareTextField extends XMLAwareControl (Code) | | An XMLAwareControl that is backed by a Text control. The XML aware control modifies the
specified XML node to stay in sync with the text being displayed in the control.
author: Doug Moran |
XMLAwareTextField | public XMLAwareTextField(Composite parent, String nodeName, Object controlLayoutData)(Code) | | Create an XML aware text field.
Parameters: toolkit - the toolkit to be used when creating the Text control. Parameters: parent - the parent of the Text control Parameters: nodeName - the name of the DOM node being modified by by this control Parameters: controlLayoutData - the layout data for the control |
XMLAwareTextField | public XMLAwareTextField(Composite parent, String nodeName, Object controlLayoutData, Object labelLayoutData)(Code) | | Create an XML aware text field.
Parameters: toolkit - the toolkit to be used when creating the Text control. Parameters: parent - the parent of the Text control Parameters: nodeName - the name of the DOM node being modified by by this control Parameters: controlLayoutData - the layout data for the control Parameters: labelLayoutData - the layout data for the label |
addModifyListener | protected void addModifyListener()(Code) | | |
createControl | protected Control createControl(Composite parent, int style, String labelStr, Object controlLayoutData, Object labelLayoutData)(Code) | | |
getControl | public Control getControl()(Code) | | |
removeModifyListener | protected void removeModifyListener()(Code) | | |
setEnabled | protected void setEnabled(boolean enabled)(Code) | | |
Methods inherited from org.pentaho.designstudio.controls.XMLAwareControl | abstract protected void addModifyListener()(Code)(Java Doc) protected void addTheNode()(Code)(Java Doc) public void addXmlModificationListener(IXmlModificationListener listener)(Code)(Java Doc) abstract protected Control createControl(Composite parent, int style, String labelStr, Object controlLayoutData, Object labelLayoutData)(Code)(Java Doc) protected void createLabel(Composite parent, Object layoutData, String labelStr)(Code)(Java Doc) protected void deleteTheNode()(Code)(Java Doc) public void fireXmlModificationEvent(XmlModificationEvent event)(Code)(Java Doc) abstract public Control getControl()(Code)(Java Doc) public boolean getDeleteWhenEmpty()(Code)(Java Doc) protected String getLabel()(Code)(Java Doc) protected String getNodeText()(Code)(Java Doc) public Node getTargetNode()(Code)(Java Doc) abstract protected String getText()(Code)(Java Doc) public boolean getUseCData()(Code)(Java Doc) protected void initListeners()(Code)(Java Doc) public void modifyText(ModifyEvent e)(Code)(Java Doc) public void refresh()(Code)(Java Doc) abstract protected void removeModifyListener()(Code)(Java Doc) public void removeXmlModificationListener(IXmlModificationListener listener)(Code)(Java Doc) public void setDeleteWhenEmpty(boolean delete)(Code)(Java Doc) abstract protected void setEnabled(boolean enabled)(Code)(Java Doc) public void setTargetAttribute(Attribute attribute)(Code)(Java Doc) public void setTargetAttribute(Element element, String attributeName)(Code)(Java Doc) public void setTargetAttribute(Element ancestor, String xPathToElement, String attributeName)(Code)(Java Doc) public void setTargetElement(Element element)(Code)(Java Doc) public void setTargetElement(Element ancestor, String xPathToElement)(Code)(Java Doc) abstract protected void setText(String textStr)(Code)(Java Doc) public void setUseCData(boolean use)(Code)(Java Doc) protected void synchronizeNodeWithControl()(Code)(Java Doc)
|
|
|