Java Doc for TreeItem.java in  » Development » javaguard » net » sf » javaguard » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Development » javaguard » net.sf.javaguard 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.javaguard.TreeItem

All known Subclasses:   net.sf.javaguard.MdFd,  net.sf.javaguard.PkCl,
TreeItem
public class TreeItem (Code)
Item that forms a tree structure and can represent a package level, a class, or a method or field.
author:
   Mark Welsh
author:
   Thorsten Heit



Constructor Summary
public  TreeItem(TreeItem parent, String name)
     Default constructor that creates a new tree item.

Method Summary
public  booleancanForceObfuscate()
     Returns whether the current element must be obfuscated.
public  booleancanIgnoreElement()
     Returns whether the current element should be ignored when generating obfuscated names.
protected  ClassTreegetClassTree()
     Returns the class tree the tree item belongs to.
public  StringgetFullInName()
     Construct and return the full original name of the entry.
public  StringgetFullOutName()
     Construct and return the full obfuscated name of the entry.
public  StringgetInName()
     Return the original name of the entry.
public  intgetModifiers()
     Return the current access modifiers.
public  StringgetObfName()
     Return the obfuscated name of the entry.
public  StringgetOutName()
     Return the output name of the entry, obfuscated or original.
public  TreeItemgetParent()
     Return the parent element in the tree.
public  StringgetSeparator()
     Returns the separator string that allows to distinguish sub-levels.
public  booleanisFixed()
     Returns whether the entry has been fixed already in some way.
public  booleanisFromScript()
     Returns whether the element is constrained by an entry in the script file.
public  booleanisFromScriptMap()
     Returns whether the element is constrained by a mapping directive in the script file.
public  booleanisScriptEntryMatch()
     Returns whether the tree item is matched by a script entry.
public  booleanisSynthetic()
     Returns whether the element is synthetic.
protected  voidsetClassTree(ClassTree ct)
     Defines the class tree the tree item belongs to.
public  voidsetForceObfuscate(boolean force)
     Sets whether the current element must be obfuscated or not.
public  voidsetFromScript()
     Signals that this constraint comes from an entry in the script file.
public  voidsetFromScriptMap()
     Signals that this constraint comes from a mapping directive in the script file.
public  voidsetIgnoreElement(boolean ignore)
     Sets whether the current element should be ignored when generating the obfuscated name list or not.
protected  voidsetModifiers(int access)
     Sets the access modifiers.
public  voidsetOutName(String outName)
     Set the output name of the entry.
public  voidsetParent(TreeItem parent)
     Set the parent element of the current one in the tree.
public  voidsetScriptEntryMatch(boolean match)
     Sets whether the tree item is matched by a script entry.
protected  voidsetSeparator(String separator)
     Sets the separator string to distinguish sub-levels.
protected  voidsetSynthetic(boolean synthetic)
     Sets whether the element is synthetic.


Constructor Detail
TreeItem
public TreeItem(TreeItem parent, String name)(Code)
Default constructor that creates a new tree item.
Parameters:
  parent - the parent of the tree item; may be null
Parameters:
  name - the name of the tree item




Method Detail
canForceObfuscate
public boolean canForceObfuscate()(Code)
Returns whether the current element must be obfuscated. true if the current element must be obfuscated; false else
See Also:   TreeItem.setForceObfuscate



canIgnoreElement
public boolean canIgnoreElement()(Code)
Returns whether the current element should be ignored when generating obfuscated names. true if the current element should be ignored; false else
See Also:   TreeItem.setIgnoreElement



getClassTree
protected ClassTree getClassTree()(Code)
Returns the class tree the tree item belongs to. class tree
See Also:   TreeItem.setClassTree
See Also:   ClassTree



getFullInName
public String getFullInName()(Code)
Construct and return the full original name of the entry. full original name in the form package.subpackage.class



getFullOutName
public String getFullOutName()(Code)
Construct and return the full obfuscated name of the entry. full obfuscated name of the entry



getInName
public String getInName()(Code)
Return the original name of the entry. original name of the entry without the package prefix



getModifiers
public int getModifiers()(Code)
Return the current access modifiers. access modifiers
See Also:   TreeItem.setModifiers



getObfName
public String getObfName()(Code)
Return the obfuscated name of the entry. obfuscated name of the entry; may be null if not yet set



getOutName
public String getOutName()(Code)
Return the output name of the entry, obfuscated or original. output name of the entry without package prefix



getParent
public TreeItem getParent()(Code)
Return the parent element in the tree. parent tree element



getSeparator
public String getSeparator()(Code)
Returns the separator string that allows to distinguish sub-levels. separator string
See Also:   TreeItem.setSeparator



isFixed
public boolean isFixed()(Code)
Returns whether the entry has been fixed already in some way. true if the entry has been fixed; false else



isFromScript
public boolean isFromScript()(Code)
Returns whether the element is constrained by an entry in the script file. true if the element is constrained by an entry in the script file;false else



isFromScriptMap
public boolean isFromScriptMap()(Code)
Returns whether the element is constrained by a mapping directive in the script file. true if the element is constrained by a mapping directive in thescript file; false else



isScriptEntryMatch
public boolean isScriptEntryMatch()(Code)
Returns whether the tree item is matched by a script entry. true if there's an entry that matches the tree item; false else



isSynthetic
public boolean isSynthetic()(Code)
Returns whether the element is synthetic. true if the element is synthetic; false else
See Also:   TreeItem.setSynthetic



setClassTree
protected void setClassTree(ClassTree ct)(Code)
Defines the class tree the tree item belongs to.
Parameters:
  ct - the class tree
See Also:   TreeItem.getClassTree
See Also:   ClassTree



setForceObfuscate
public void setForceObfuscate(boolean force)(Code)
Sets whether the current element must be obfuscated or not.
Parameters:
  force - true if the current element must be obfuscated; false else
See Also:   TreeItem.canForceObfuscate



setFromScript
public void setFromScript()(Code)
Signals that this constraint comes from an entry in the script file.



setFromScriptMap
public void setFromScriptMap()(Code)
Signals that this constraint comes from a mapping directive in the script file.



setIgnoreElement
public void setIgnoreElement(boolean ignore)(Code)
Sets whether the current element should be ignored when generating the obfuscated name list or not.
Parameters:
  ignore - true if the current element should be ignored; false else
See Also:   TreeItem.canIgnoreElement



setModifiers
protected void setModifiers(int access)(Code)
Sets the access modifiers.
Parameters:
  access - the access modifiers
See Also:   TreeItem.getModifiers



setOutName
public void setOutName(String outName)(Code)
Set the output name of the entry.
Parameters:
  outName - output name of the entry



setParent
public void setParent(TreeItem parent)(Code)
Set the parent element of the current one in the tree. Used when stitching in a Cl to replace a PlaceholderCl.
Parameters:
  parent - the parent tree element



setScriptEntryMatch
public void setScriptEntryMatch(boolean match)(Code)
Sets whether the tree item is matched by a script entry.
Parameters:
  match - true if the item is matched by a script entry; false else
See Also:   TreeItem.isScriptEntryMatch



setSeparator
protected void setSeparator(String separator)(Code)
Sets the separator string to distinguish sub-levels.
Parameters:
  separator - the separator string
See Also:   TreeItem.getSeparator



setSynthetic
protected void setSynthetic(boolean synthetic)(Code)
Sets whether the element is synthetic.
Parameters:
  synthetic - true if the element is synthetic; false else
See Also:   TreeItem.isSynthetic



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.