|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
i18nplugin.PathNode
public class PathNode
A Path-Entry
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Fields inherited from interface i18nplugin.LanguageNodeIf |
|---|
STATE_MISSING_TRANSLATION, STATE_NON_WELLFORMED, STATE_NON_WELLFORMED_ARG_COUNT, STATE_NON_WELLFORMED_ARG_FORMAT, STATE_NON_WELLFORMED_PUNCTUATION_END, STATE_OK |
| Constructor Summary | |
|---|---|
PathNode(String string)
Create Path-Entry |
|
| Method Summary | |
|---|---|
TreeNode |
getChildAfter(TreeNode child)
|
TreeNode |
getChildAt(int index)
|
TreeNode |
getChildBefore(TreeNode child)
|
int |
getChildCount()
|
int |
getIndex(TreeNode child)
|
int |
getMatchCount()
Returns the total number of matches in all sub nodes. |
void |
insert(MutableTreeNode newChild,
int childIndex)
|
boolean |
isLeaf()
|
boolean |
matches()
Returns true if the node (or any sub node) matches the filter. |
void |
save()
Saves all changes to the User-Directory |
void |
setFilter(Locale locale,
String filter)
Sets a new filter. |
int |
translationStateFor(Locale locale)
This method returns the translation state, if all translations are available for a certain locale. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PathNode(String string)
string - Path-Entry| Method Detail |
|---|
public void insert(MutableTreeNode newChild,
int childIndex)
insert in interface MutableTreeNodeinsert in class DefaultMutableTreeNodepublic int translationStateFor(Locale locale)
LanguageNodeIf
translationStateFor in interface LanguageNodeIflocale - Locale
public void save()
throws IOException
LanguageNodeIf
save in interface LanguageNodeIfIOException - saving went wrongpublic boolean isLeaf()
isLeaf in interface TreeNodeisLeaf in class DefaultMutableTreeNodepublic int getMatchCount()
FilterNodeIf
getMatchCount in interface FilterNodeIfpublic boolean matches()
FilterNodeIf
matches in interface FilterNodeIf
public void setFilter(Locale locale,
String filter)
FilterNodeIf
setFilter in interface FilterNodeIflocale - - the local to check.filter - - the filter value to check for.public int getChildCount()
getChildCount in interface TreeNodegetChildCount in class DefaultMutableTreeNodepublic TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class DefaultMutableTreeNodepublic int getIndex(TreeNode child)
getIndex in interface TreeNodegetIndex in class DefaultMutableTreeNodepublic TreeNode getChildAfter(TreeNode child)
getChildAfter in class DefaultMutableTreeNodepublic TreeNode getChildBefore(TreeNode child)
getChildBefore in class DefaultMutableTreeNode
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||