Java Doc for XComponentSizer.java in  » XML-UI » XUI » net » xoetrope » builder » editor » 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 » XML UI » XUI » net.xoetrope.builder.editor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JLabel
   net.xoetrope.builder.editor.XComponentSizer

XComponentSizer
public class XComponentSizer extends JLabel implements MouseListener,MouseMotionListener,FocusListener(Code)
Provides a set of grab handles to visually manipulate a component. In response to grabbing one of the handles the component is resize or moved as needed.

Copyright (c) Xoetrope Ltd., 1998-2003


version:
   $Revision: 1.19 $



Constructor Summary
public  XComponentSizer(XEditorProject project)
    

Method Summary
public  voidadjustBounds(Rectangle r)
    
public  voidfocusGained(FocusEvent e)
    
public  voidfocusLost(FocusEvent e)
    
public  XPagegetPage()
    
protected  XPageHoldergetPageHolder()
    
public  XPageResourcegetPageResource()
     Get the screen with which the highlighted component is associated.
public  ComponentgetTarget()
    
public  voidhighlightComponent(XGuidePane owner, XPageResource page, Component comp)
    
public  booleanisEnabled()
    
public  booleanisFocusable()
    
public  voidmouseClicked(MouseEvent e)
    
public  voidmouseDragged(MouseEvent e)
     Dynamically resize the component in response to mouse drags.
public  voidmouseEntered(MouseEvent e)
    
public  voidmouseExited(MouseEvent e)
    
public  voidmouseMoved(MouseEvent e)
    
public  voidmousePressed(MouseEvent e)
    
public  voidmouseReleased(MouseEvent e)
    
public  voidremove()
    
public  voidrepositionTarget()
    
public  voidrightButtonClicked(MouseEvent evt)
    
public  voidsetBounds(Rectangle r)
    
public  voidsetSizerListener(SizerListener sListener)
    


Constructor Detail
XComponentSizer
public XComponentSizer(XEditorProject project)(Code)




Method Detail
adjustBounds
public void adjustBounds(Rectangle r)(Code)
Adjust this component and its children so that the specified rectangle is highlighted and force any listeneing components to update themselves
Parameters:
  r - the new size



focusGained
public void focusGained(FocusEvent e)(Code)



focusLost
public void focusLost(FocusEvent e)(Code)



getPage
public XPage getPage()(Code)
Get the page that owns this componet



getPageHolder
protected XPageHolder getPageHolder()(Code)



getPageResource
public XPageResource getPageResource()(Code)
Get the screen with which the highlighted component is associated. the screen that owns the highlighted control



getTarget
public Component getTarget()(Code)
Return the monitored component



highlightComponent
public void highlightComponent(XGuidePane owner, XPageResource page, Component comp)(Code)
Add this Sizer component to the container so that the specified component appears to be selected
Parameters:
  comp - the selected component



isEnabled
public boolean isEnabled()(Code)



isFocusable
public boolean isFocusable()(Code)



mouseClicked
public void mouseClicked(MouseEvent e)(Code)



mouseDragged
public void mouseDragged(MouseEvent e)(Code)
Dynamically resize the component in response to mouse drags.
Parameters:
  e -



mouseEntered
public void mouseEntered(MouseEvent e)(Code)



mouseExited
public void mouseExited(MouseEvent e)(Code)



mouseMoved
public void mouseMoved(MouseEvent e)(Code)



mousePressed
public void mousePressed(MouseEvent e)(Code)



mouseReleased
public void mouseReleased(MouseEvent e)(Code)



remove
public void remove()(Code)
Remove the sizer from the parent and hide



repositionTarget
public void repositionTarget()(Code)
Updates the targets position to match that of the sizer



rightButtonClicked
public void rightButtonClicked(MouseEvent evt)(Code)



setBounds
public void setBounds(Rectangle r)(Code)
Adjust this component and its children so that the specified rectangle is highlighted
Parameters:
  r - the new size



setSizerListener
public void setSizerListener(SizerListener sListener)(Code)
Add a listener for the size changes
Parameters:
  sListener -



Fields inherited from javax.swing.JLabel
protected Component labelFor(Code)(Java Doc)

Methods inherited from javax.swing.JLabel
protected int checkHorizontalKey(int key, String message)(Code)(Java Doc)
protected int checkVerticalKey(int key, String message)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public Icon getDisabledIcon()(Code)(Java Doc)
public int getDisplayedMnemonic()(Code)(Java Doc)
public int getDisplayedMnemonicIndex()(Code)(Java Doc)
public int getHorizontalAlignment()(Code)(Java Doc)
public int getHorizontalTextPosition()(Code)(Java Doc)
public Icon getIcon()(Code)(Java Doc)
public int getIconTextGap()(Code)(Java Doc)
public Component getLabelFor()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public LabelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public int getVerticalAlignment()(Code)(Java Doc)
public int getVerticalTextPosition()(Code)(Java Doc)
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setDisabledIcon(Icon disabledIcon)(Code)(Java Doc)
public void setDisplayedMnemonic(int key)(Code)(Java Doc)
public void setDisplayedMnemonic(char aChar)(Code)(Java Doc)
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException(Code)(Java Doc)
public void setHorizontalAlignment(int alignment)(Code)(Java Doc)
public void setHorizontalTextPosition(int textPosition)(Code)(Java Doc)
public void setIcon(Icon icon)(Code)(Java Doc)
public void setIconTextGap(int iconTextGap)(Code)(Java Doc)
public void setLabelFor(Component c)(Code)(Java Doc)
public void setText(String text)(Code)(Java Doc)
public void setUI(LabelUI ui)(Code)(Java Doc)
public void setVerticalAlignment(int alignment)(Code)(Java Doc)
public void setVerticalTextPosition(int textPosition)(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.