Java Doc for EditControlImpl.java in  » IDE-Netbeans » uml » org » netbeans » modules » uml » ui » controls » editcontrol » 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 » uml » org.netbeans.modules.uml.ui.controls.editcontrol 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   org.netbeans.modules.uml.ui.controls.editcontrol.EditControlImpl

EditControlImpl
public class EditControlImpl extends JPanel implements IEditControl,InputMethodListener(Code)

author:
   sumitabhk


Field Summary
final static  JTextComponent.KeyBinding[]defaultBindings
    

Constructor Summary
public  EditControlImpl(Object parent)
    
public  EditControlImpl()
    

Method Summary
public  voidactivate(int KeyCode, int nPos)
    
public  intcalcNewPos(int changeLineBy)
    
public  voidcaretPositionChanged(InputMethodEvent event)
    
public  voiddeactivate()
    
public  voiddisplayList(boolean bList, IStrings pList, int nStart, String sInitialText)
    
public  ObjectgetAssociatedParent()
    
public  booleangetAutoExpand()
    
public  booleangetAutoSize()
    
public  voidgetBackColor()
    
public  IEditControlFieldgetCurrentField()
    
public  intgetCurrentPosition()
    
public  IEventDispatchergetEventDispatcher()
     Gets the control's event dispatcher (used internally only).
public  FontgetFont()
    
public  ColorgetForeColor()
    
public  booleangetModified()
    
public  booleangetMultiline()
    
public  booleangetOverstrike()
    
public  longgetSel(int nStartChar, int nEndChar)
    
public  intgetSelEndPos()
    
public  intgetSelStartPos()
    
public  StringgetSeparatorList()
    
public  intgetStyle()
    
public  StringgetText()
    
public  longgetTooltipText(StringBuffer sLeft, StringBuffer sSubject, StringBuffer sRight)
    
public  ITranslatorgetTranslator()
     Returns the translator attached to this control.
public  voidhandleHint()
    
public  voidhandleKeyDown(int keyCode, int nShift)
    
public  voidhandleKeyDown(KeyEvent e)
    
public  voidhandleRollback()
    
public  voidhandleSave()
     Deactivate the edit control and save any information edited by user.
public  voidhandleTypedChar(char ch)
    
public  voidhideHintBar()
    
protected  voidinitControl()
    
public  voidinputMethodTextChanged(InputMethodEvent event)
    
public  booleanisControlDown()
    
public  booleanisShiftDown()
    
public  intlineIndex(int nLine)
    
public  intlineLength(int nLine)
    
public  voidperformActionOnMenuItemSelected(ActionEvent e)
    
public  voidputEventDispatcher(IEventDispatcher pDispatcher)
     Establishes the control's event dispatcher (used internally only).
public  voidrefresh()
     Updates the control's window with the current contents of the translator.
public  voidregisterAccelerator(int nChar, long nModifier)
    
public  voidreplaceSel(String sText)
    
public  voidsetAutoExpand(boolean value)
    
public  voidsetAutoSize(boolean value)
    
public  voidsetBackColor(long value)
    
public  voidsetCaretPosition(int pos)
    
public  voidsetCharacter(int nKeyCode, int nShift)
    
public  voidsetCurrentPosition(int value)
    
public  voidsetEditControlBackground(Color c)
    
public  voidsetElement(IElement pElement)
     Sets the element this edit control will edit.
public  voidsetEnableTooltip(boolean value)
    
public  voidsetFont(Font value)
    
public  voidsetForeColor(Color value)
    
public  voidsetHFont(int value)
    
public  voidsetModified(boolean value)
    
public  voidsetOverstrike(boolean value)
    
public  longsetSel(int startPos, int endPos)
    
public  voidsetSeparatorList(String sList)
    
public  voidsetStyle(long value)
    
public  voidsetText(String value)
    
public  voidsetTooltipText(String sLeft, String sSubject, String sRight)
     Update the tooltip's text.
public  voidsetTranslator(ITranslator pTranslator)
     Attaches a translator to this control.
public  voidsetrefBackColor(long value)
    
public  voidsetrefFont(Font value)
    
public  voidsetrefForeColor(long value)
    
public  voidshowHintBar(int nPos)
    
public  voidupdateToolTip()
     Force the tooltip to be re-loaded and re-displayed.

Field Detail
defaultBindings
final static JTextComponent.KeyBinding[] defaultBindings(Code)




Constructor Detail
EditControlImpl
public EditControlImpl(Object parent)(Code)



EditControlImpl
public EditControlImpl()(Code)




Method Detail
activate
public void activate(int KeyCode, int nPos)(Code)



calcNewPos
public int calcNewPos(int changeLineBy)(Code)



caretPositionChanged
public void caretPositionChanged(InputMethodEvent event)(Code)



deactivate
public void deactivate()(Code)
Deactivate the edit control



displayList
public void displayList(boolean bList, IStrings pList, int nStart, String sInitialText)(Code)



getAssociatedParent
public Object getAssociatedParent()(Code)



getAutoExpand
public boolean getAutoExpand()(Code)



getAutoSize
public boolean getAutoSize()(Code)



getBackColor
public void getBackColor()(Code)



getCurrentField
public IEditControlField getCurrentField()(Code)



getCurrentPosition
public int getCurrentPosition()(Code)



getEventDispatcher
public IEventDispatcher getEventDispatcher()(Code)
Gets the control's event dispatcher (used internally only).
Parameters:
  pDispatcher -



getFont
public Font getFont()(Code)



getForeColor
public Color getForeColor()(Code)



getModified
public boolean getModified()(Code)



getMultiline
public boolean getMultiline()(Code)



getOverstrike
public boolean getOverstrike()(Code)



getSel
public long getSel(int nStartChar, int nEndChar)(Code)



getSelEndPos
public int getSelEndPos()(Code)



getSelStartPos
public int getSelStartPos()(Code)



getSeparatorList
public String getSeparatorList()(Code)
A list of separator characters used by the fields
Parameters:
  sList - HRESULT



getStyle
public int getStyle()(Code)



getText
public String getText()(Code)



getTooltipText
public long getTooltipText(StringBuffer sLeft, StringBuffer sSubject, StringBuffer sRight)(Code)



getTranslator
public ITranslator getTranslator()(Code)
Returns the translator attached to this control.
Parameters:
  pTranslator -



handleHint
public void handleHint()(Code)



handleKeyDown
public void handleKeyDown(int keyCode, int nShift)(Code)



handleKeyDown
public void handleKeyDown(KeyEvent e)(Code)



handleRollback
public void handleRollback()(Code)



handleSave
public void handleSave()(Code)
Deactivate the edit control and save any information edited by user.



handleTypedChar
public void handleTypedChar(char ch)(Code)



hideHintBar
public void hideHintBar()(Code)



initControl
protected void initControl()(Code)



inputMethodTextChanged
public void inputMethodTextChanged(InputMethodEvent event)(Code)



isControlDown
public boolean isControlDown()(Code)



isShiftDown
public boolean isShiftDown()(Code)



lineIndex
public int lineIndex(int nLine)(Code)



lineLength
public int lineLength(int nLine)(Code)



performActionOnMenuItemSelected
public void performActionOnMenuItemSelected(ActionEvent e)(Code)



putEventDispatcher
public void putEventDispatcher(IEventDispatcher pDispatcher)(Code)
Establishes the control's event dispatcher (used internally only).
Parameters:
  pDispatcher -



refresh
public void refresh()(Code)
Updates the control's window with the current contents of the translator. HRESULT



registerAccelerator
public void registerAccelerator(int nChar, long nModifier)(Code)



replaceSel
public void replaceSel(String sText)(Code)



setAutoExpand
public void setAutoExpand(boolean value)(Code)



setAutoSize
public void setAutoSize(boolean value)(Code)



setBackColor
public void setBackColor(long value)(Code)



setCaretPosition
public void setCaretPosition(int pos)(Code)



setCharacter
public void setCharacter(int nKeyCode, int nShift)(Code)



setCurrentPosition
public void setCurrentPosition(int value)(Code)



setEditControlBackground
public void setEditControlBackground(Color c)(Code)



setElement
public void setElement(IElement pElement)(Code)
Sets the element this edit control will edit.
Parameters:
  pElement - [in] The edit control



setEnableTooltip
public void setEnableTooltip(boolean value)(Code)



setFont
public void setFont(Font value)(Code)



setForeColor
public void setForeColor(Color value)(Code)



setHFont
public void setHFont(int value)(Code)



setModified
public void setModified(boolean value)(Code)



setOverstrike
public void setOverstrike(boolean value)(Code)



setSel
public long setSel(int startPos, int endPos)(Code)



setSeparatorList
public void setSeparatorList(String sList)(Code)
A list of separator characters used by the fields
Parameters:
  sList - HRESULT



setStyle
public void setStyle(long value)(Code)



setText
public void setText(String value)(Code)



setTooltipText
public void setTooltipText(String sLeft, String sSubject, String sRight)(Code)
Update the tooltip's text. If all 3 text parts are empty the tooltip window is dismissed.
Parameters:
  sLeft - Left part of the tooltip text
Parameters:
  sSubject - Subject part, this will be displayed in a bold font
Parameters:
  sRight - Right part of the tooltip text. HRESULT



setTranslator
public void setTranslator(ITranslator pTranslator)(Code)
Attaches a translator to this control.
Parameters:
  pTranslator -



setrefBackColor
public void setrefBackColor(long value)(Code)



setrefFont
public void setrefFont(Font value)(Code)



setrefForeColor
public void setrefForeColor(long value)(Code)



showHintBar
public void showHintBar(int nPos)(Code)



updateToolTip
public void updateToolTip()(Code)
Force the tooltip to be re-loaded and re-displayed. HRESULT



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.