|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsmacs.xngr.browser.properties.ViewPropertiesXml
smacs.xngr.browser.properties.EditorPropertiesXml
Handles the properties for the Editor.
| Constructor Summary | |
EditorPropertiesXml(Element element)
Constructor for the editor properties. |
|
| Method Summary | |
void |
addSearch(String search)
Adds a Search string to the Editor. |
Vector |
getSearches()
Returns the list of searches. |
int |
getSpaces()
Gets the number of spaces to substitute for a tab. |
boolean |
indentMixedContent()
Check to find out if the mixed content should be indented when formatting. |
boolean |
isDirectionDown()
Check to find out if the search direction is down. |
boolean |
isMatchCase()
Check to find out if the search matches the case. |
boolean |
isTagCompletion()
Check to find out if the tag completion is enabled. |
EditorProperties |
newEditorProperties(Element element)
Constructor for the editor properties. |
void |
setDirectionDown(boolean downward)
Set the search direction. |
void |
setIndentMixedContent(boolean indent)
Set wether the mixed content should be indented when formatting. |
void |
setMatchCase(boolean matchCase)
Set the match-case search property. |
void |
setSpaces(int spaces)
Set the number of spaces to substitute for a tab. |
void |
setTagCompletion(boolean complete)
Set the tag completion property. |
void |
update()
Updates the searches elements. |
| Methods inherited from class smacs.xngr.browser.properties.ViewPropertiesXml |
getDimension, getPosition, setDimension, setPosition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface smacs.xngr.browser.ui.ViewProperties |
getDimension, getPosition, setDimension, setPosition |
| Constructor Detail |
public EditorPropertiesXml(Element element)
element - the element that contains the properties,
for the editor.| Method Detail |
public EditorProperties newEditorProperties(Element element)
EditorProperties
newEditorProperties in interface EditorPropertieselement - the element that contains the properties,
for the editor.public boolean isMatchCase()
isMatchCase in interface EditorPropertiespublic void setMatchCase(boolean matchCase)
setMatchCase in interface EditorPropertiesmatchCase - the search property.public void setSpaces(int spaces)
setSpaces in interface EditorPropertiesspaces - the number of spaces.public int getSpaces()
getSpaces in interface EditorPropertiespublic boolean isTagCompletion()
isTagCompletion in interface EditorPropertiespublic void setTagCompletion(boolean complete)
setTagCompletion in interface EditorPropertiescomplete - the tag completion property.public boolean indentMixedContent()
indentMixedContent in interface EditorPropertiespublic void setIndentMixedContent(boolean indent)
setIndentMixedContent in interface EditorPropertiesindent - true when the mixed content should be indented.public boolean isDirectionDown()
isDirectionDown in interface EditorPropertiespublic void setDirectionDown(boolean downward)
setDirectionDown in interface EditorPropertiesdownward - the search direction.public void addSearch(String search)
addSearch in interface EditorPropertiessearch - the search.public Vector getSearches()
getSearches in interface EditorPropertiespublic void update()
update in interface EditorProperties
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||