Java Doc for IContour.java in  » Swing-Library » jide-common » com » jidesoft » swing » 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 » Swing Library » jide common » com.jidesoft.swing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.jidesoft.swing.IContour

All known Subclasses:   com.jidesoft.swing.Contour,
IContour
public interface IContour (Code)
A Contour is a lightweight component which only paints the outline of component when dragged. It is also used as a placeholder for some information during dragging.

Usually Contour is added to JLayeredPane of a RootPaneContainer so that it looks like floating above other windows.

Notes: this class has to be public so that JIDE can use it in different packages, not meant to release to end user as a public API. JIDE will not gurantee the class will remain as it is.





Method Summary
public  voidcleanup()
    
public  ComponentgetAttachedComponent()
     Gets the attached component of this contour.
public  intgetAttachedSide()
     Gets the side of the attached component which the contour is attached to.
public  RectanglegetBounds()
    
public  ComponentgetGlassPane()
    
public  ContainergetRelativeContainer()
    
public  JComponentgetSaveDraggedComponent()
     Gets saved dragged component before the contour is hidden.
public  intgetSaveMouseModifier()
     Gets saved mouse modifier before the contour is hidden.
public  intgetSaveX()
     Gets saved X position of contour before it's hidden.
public  intgetSaveY()
     Gets saved Y position of contour before it's hidden.
public  intgetTabHeight()
    
public  intgetTabSide()
     Gets the side of the tab.
public  booleanisAllowDocking()
     Checks if docking is alloed.
public  booleanisFloating()
     Returns true if the contour is in floating mode.
public  booleanisLightweight()
    
public  booleanisSingle()
     When you dragged a component, several other components could be dragged. For example, if user drags on title bar of FrameContainer, all components in the FrameContainer are considered as dragged.
public  booleanisTabDocking()
     Returns true if the contour is in tab-dock mode.
public  booleanisVisible()
     Determines whether this component should be visible when its parent is visible.
public  voidsetAllowDocking(boolean allowDocking)
     Sets the value of docking.
public  voidsetAttachedComponent(Component attachedComponent)
     Sets the attached components.
public  voidsetAttachedSide(int attachedSide)
     Sets the side of the attached component which the contour is attached to.
public  voidsetBounds(Rectangle r)
    
public  voidsetBounds(int x, int y, int width, int height)
    
public  voidsetChangeCursor(boolean changeCursor)
    
public  voidsetDraggingInformation(JComponent comp, int saveX, int saveY, int saveMouseModifier)
     Stores information before the contour is hidden.
public  voidsetFloating(boolean floating)
     Sets the floating mode.
public  voidsetGlassPane(Component glassPane)
    
public  voidsetRelativeContainer(Container relativeContainer)
    
public  voidsetSingle(boolean single)
     Sets the value of single.
public  voidsetTabDocking(boolean tabDocking)
     Sets the tab-docking mode.
public  voidsetTabHeight(int tabHeight)
     Sets the tab height.
public  voidsetTabSide(int tabSide)
     Sets the side of the tab.
public  voidsetVisible(boolean aFlag)
     Makes the component visible or invisible.



Method Detail
cleanup
public void cleanup()(Code)



getAttachedComponent
public Component getAttachedComponent()(Code)
Gets the attached component of this contour. the attached component



getAttachedSide
public int getAttachedSide()(Code)
Gets the side of the attached component which the contour is attached to. side the attached side



getBounds
public Rectangle getBounds()(Code)



getGlassPane
public Component getGlassPane()(Code)



getRelativeContainer
public Container getRelativeContainer()(Code)



getSaveDraggedComponent
public JComponent getSaveDraggedComponent()(Code)
Gets saved dragged component before the contour is hidden. saved dragged component



getSaveMouseModifier
public int getSaveMouseModifier()(Code)
Gets saved mouse modifier before the contour is hidden. saved mouse modifier



getSaveX
public int getSaveX()(Code)
Gets saved X position of contour before it's hidden. saved X position



getSaveY
public int getSaveY()(Code)
Gets saved Y position of contour before it's hidden. saved Y position



getTabHeight
public int getTabHeight()(Code)



getTabSide
public int getTabSide()(Code)
Gets the side of the tab. the side of the tab



isAllowDocking
public boolean isAllowDocking()(Code)
Checks if docking is alloed. true if docking is allowed; false otherwise.



isFloating
public boolean isFloating()(Code)
Returns true if the contour is in floating mode. true if floating; false otherwise



isLightweight
public boolean isLightweight()(Code)



isSingle
public boolean isSingle()(Code)
When you dragged a component, several other components could be dragged. For example, if user drags on title bar of FrameContainer, all components in the FrameContainer are considered as dragged. If user drags on tab, only selected one is dragged. true if all dragged components are affected; false otherwise.



isTabDocking
public boolean isTabDocking()(Code)
Returns true if the contour is in tab-dock mode. true if tab-docking; false otherwise



isVisible
public boolean isVisible()(Code)
Determines whether this component should be visible when its parent is visible. Components are initially visible, with the exception of top level components such as Frame objects. true if the component is visible,false otherwise
See Also:   IContour.setVisible
since:
   JDK1.0



setAllowDocking
public void setAllowDocking(boolean allowDocking)(Code)
Sets the value of docking.
Parameters:
  allowDocking - true if docking is allowed; false otherwise.



setAttachedComponent
public void setAttachedComponent(Component attachedComponent)(Code)
Sets the attached components.
Parameters:
  attachedComponent - attached component to be set



setAttachedSide
public void setAttachedSide(int attachedSide)(Code)
Sets the side of the attached component which the contour is attached to.
Parameters:
  attachedSide - the new attached side to be set



setBounds
public void setBounds(Rectangle r)(Code)



setBounds
public void setBounds(int x, int y, int width, int height)(Code)



setChangeCursor
public void setChangeCursor(boolean changeCursor)(Code)



setDraggingInformation
public void setDraggingInformation(JComponent comp, int saveX, int saveY, int saveMouseModifier)(Code)
Stores information before the contour is hidden. Those information will be used to restore when the contour is set visible again.
Parameters:
  comp - the dragged component
Parameters:
  saveX - X position of the contour
Parameters:
  saveY - Y position of the contour
Parameters:
  saveMouseModifier - mouse modifier in the MouseEvent



setFloating
public void setFloating(boolean floating)(Code)
Sets the floating mode.
Parameters:
  floating - new mode



setGlassPane
public void setGlassPane(Component glassPane)(Code)



setRelativeContainer
public void setRelativeContainer(Container relativeContainer)(Code)



setSingle
public void setSingle(boolean single)(Code)
Sets the value of single.
Parameters:
  single - true if all dragged components are affected; false otherwise.



setTabDocking
public void setTabDocking(boolean tabDocking)(Code)
Sets the tab-docking mode.
Parameters:
  tabDocking - new mode



setTabHeight
public void setTabHeight(int tabHeight)(Code)
Sets the tab height.
Parameters:
  tabHeight -



setTabSide
public void setTabSide(int tabSide)(Code)
Sets the side of the tab.
Parameters:
  tabSide -



setVisible
public void setVisible(boolean aFlag)(Code)
Makes the component visible or invisible. Overrides Component.setVisible.
Parameters:
  aFlag - true to make the component visible; false tomake it invisible



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