Java Doc for ModifierEditor.java in  » IDE-Netbeans » form » org » netbeans » modules » form » editors » 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 » IDE Netbeans » form » org.netbeans.modules.form.editors 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   org.netbeans.modules.form.editors.ModifierEditor

ModifierEditor
public class ModifierEditor extends JPanel implements ExPropertyEditor(Code)
Property editors for java modifiers.
author:
   Petr Hamernik


Field Summary
final public static  IntegerACCESS_MODIFIERS_CUSTOM_EDITOR
    
final public static  StringCUSTOM_EDITOR_TYPE
    
final public static  IntegerFULL_CUSTOM_EDITOR
    
final public static  IntegerOTHERS_MODIFIERS_CUSTOM_EDITOR
     if it is set as feature descriptor's attribute value in the environment then the getCustomComponent returns the panel containing other modifiers than the access modifiers.
final public static  StringPROP_MODIFIERS
    

Constructor Summary
public  ModifierEditor()
     Creates new modifiers editor with full mask.
public  ModifierEditor(int mask)
     Creates new modifiers editor.

Method Summary
public  voidaddNotify()
    
public  voidattachEnv(PropertyEnv env)
     This method is called by the IDE to pass the environment to the property editor.
public  StringgetAsText()
     textual representition of current value of the modifiers.
public  ComponentgetCustomEditor()
    
public  StringgetJavaInitializationString()
    
 intgetMask()
     Getter for property mask.
 intgetModifier()
     Getter for property modifier.
public  ObjectgetPropertyValue()
     Get the customized property value.
public  String[]getTags()
    
 ObjectgetType()
    
public  ObjectgetValue()
    
public  booleanisPaintable()
    
public  voidpaintValue(Graphics g, Rectangle rectangle)
     Does nothing.
public  voidremoveNotify()
    
public  voidsetAsText(String string)
    
public  voidsetMask(int mask)
     Set the mask of editable modifiers.
 voidsetModifier(int modifier)
     Setter for property modifier.
public  voidsetValue(Object object)
    
public  booleansupportsCustomEditor()
    

Field Detail
ACCESS_MODIFIERS_CUSTOM_EDITOR
final public static Integer ACCESS_MODIFIERS_CUSTOM_EDITOR(Code)
if it is set as feature descriptor's attribute value in the environment then the getCustomComponent returns the combo box for access modifiers



CUSTOM_EDITOR_TYPE
final public static String CUSTOM_EDITOR_TYPE(Code)
attribute name for the feature descriptor of the property environment
See Also:   ModifierEditor.ACCESS_MODIFIERS_CUSTOM_EDITOR
See Also:   ModifierEditor.OTHERS_MODIFIERS_CUSTOM_EDITOR



FULL_CUSTOM_EDITOR
final public static Integer FULL_CUSTOM_EDITOR(Code)
if it is set as feature descriptor's attribute value in the environment then the getCustomComponent returns the panel containing full range of modifiers



OTHERS_MODIFIERS_CUSTOM_EDITOR
final public static Integer OTHERS_MODIFIERS_CUSTOM_EDITOR(Code)
if it is set as feature descriptor's attribute value in the environment then the getCustomComponent returns the panel containing other modifiers than the access modifiers.



PROP_MODIFIERS
final public static String PROP_MODIFIERS(Code)




Constructor Detail
ModifierEditor
public ModifierEditor()(Code)
Creates new modifiers editor with full mask.



ModifierEditor
public ModifierEditor(int mask)(Code)
Creates new modifiers editor.
Parameters:
  mask - The mask of modifier values which should be possible to change.




Method Detail
addNotify
public void addNotify()(Code)



attachEnv
public void attachEnv(PropertyEnv env)(Code)
This method is called by the IDE to pass the environment to the property editor.



getAsText
public String getAsText()(Code)
textual representition of current value of the modifiers.



getCustomEditor
public Component getCustomEditor()(Code)
this



getJavaInitializationString
public String getJavaInitializationString()(Code)
the java source code representationof the current value.



getMask
int getMask()(Code)
Getter for property mask. Value of property mask.



getModifier
int getModifier()(Code)
Getter for property modifier. Value of property modifier.



getPropertyValue
public Object getPropertyValue() throws IllegalStateException(Code)
Get the customized property value. the property value
exception:
  IllegalStateException - when the custom property editor does not contain a valid property value(and thus it should not be set)



getTags
public String[] getTags()(Code)
null



getType
Object getType()(Code)
type of the editor
See Also:   ModifierEditor.ACCESS_MODIFIERS_CUSTOM_EDITOR
See Also:   ModifierEditor.OTHERS_MODIFIERS_CUSTOM_EDITOR
See Also:   ModifierEditor.FULL_CUSTOM_EDITOR



getValue
public Object getValue()(Code)
Get the value



isPaintable
public boolean isPaintable()(Code)
false



paintValue
public void paintValue(Graphics g, Rectangle rectangle)(Code)
Does nothing.



removeNotify
public void removeNotify()(Code)



setAsText
public void setAsText(String string) throws IllegalArgumentException(Code)
Parse the text and sets the modifier editor value



setMask
public void setMask(int mask)(Code)
Set the mask of editable modifiers.
Parameters:
  mask - new value of the mask.



setModifier
void setModifier(int modifier)(Code)
Setter for property modifier.
Parameters:
  modifier - New value of property modifier.



setValue
public void setValue(Object object) throws IllegalArgumentException(Code)
Set new value



supportsCustomEditor
public boolean supportsCustomEditor()(Code)
true



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(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.