Java Doc for UIFSplitPane.java in  » Swing-Library » jgoodies-looks » com » jgoodies » uif_lite » component » 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 » jgoodies looks » com.jgoodies.uif_lite.component 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JSplitPane
   com.jgoodies.uif_lite.component.UIFSplitPane

UIFSplitPane
final public class UIFSplitPane extends JSplitPane (Code)
A JSplitPane subclass that can try to remove the divider border. Useful if the splitted components render their own borders. Note that this feature is not supported by all look&feels. Some look&feel implementation will always show a divider border, and conversely, others will never show a divider border.
author:
   Karsten Lentzsch
version:
   $Revision: 1.2 $
See Also:   javax.swing.plaf.basic.BasicSplitPaneUI


Field Summary
final public static  StringPROPERTYNAME_DIVIDER_BORDER_VISIBLE
     Holds the name of the bound property that tries to show or hide the split pane's divider border.

Constructor Summary
public  UIFSplitPane()
     Constructs a UIFSplitPane configured to arrange the child components side-by-side horizontally with no continuous layout, using two buttons for the components.
public  UIFSplitPane(int newOrientation)
     Constructs a UIFSplitPane configured with the specified orientation and no continuous layout.
public  UIFSplitPane(int newOrientation, boolean newContinuousLayout)
     Constructs a UIFSplitPane with the specified orientation and redrawing style.
public  UIFSplitPane(int orientation, Component leftComponent, Component rightComponent)
     Constructs a UIFSplitPane with the specified orientation and the given componenents.
public  UIFSplitPane(int orientation, boolean continuousLayout, Component leftComponent, Component rightComponent)
     Constructs a UIFSplitPane with the specified orientation, redrawing style, and given components.

Method Summary
public static  UIFSplitPanecreateStrippedSplitPane(int orientation, Component leftComponent, Component rightComponent)
     Constructs a UIFSplitPane, i.e.
public  booleanisDividerBorderVisible()
     Checks and answers whether the divider border shall be visible or invisible.
public  voidsetDividerBorderVisible(boolean newVisibility)
     Makes the divider border visible or invisible.
public  voidupdateUI()
     Updates the UI and sets an empty divider border.

Field Detail
PROPERTYNAME_DIVIDER_BORDER_VISIBLE
final public static String PROPERTYNAME_DIVIDER_BORDER_VISIBLE(Code)
Holds the name of the bound property that tries to show or hide the split pane's divider border.
See Also:   UIFSplitPane.isDividerBorderVisible()
See Also:   UIFSplitPane.setDividerBorderVisible(boolean)




Constructor Detail
UIFSplitPane
public UIFSplitPane()(Code)
Constructs a UIFSplitPane configured to arrange the child components side-by-side horizontally with no continuous layout, using two buttons for the components.



UIFSplitPane
public UIFSplitPane(int newOrientation)(Code)
Constructs a UIFSplitPane configured with the specified orientation and no continuous layout.
Parameters:
  newOrientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT
throws:
  IllegalArgumentException - if orientationis not one of HORIZONTAL_SPLIT or VERTICAL_SPLIT.



UIFSplitPane
public UIFSplitPane(int newOrientation, boolean newContinuousLayout)(Code)
Constructs a UIFSplitPane with the specified orientation and redrawing style.
Parameters:
  newOrientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT
Parameters:
  newContinuousLayout - a boolean, true for the components to redraw continuously as the divider changes position, falseto wait until the divider position stops changing to redraw
throws:
  IllegalArgumentException - if orientationis not one of HORIZONTAL_SPLIT or VERTICAL_SPLIT



UIFSplitPane
public UIFSplitPane(int orientation, Component leftComponent, Component rightComponent)(Code)
Constructs a UIFSplitPane with the specified orientation and the given componenents.
Parameters:
  orientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT
Parameters:
  leftComponent - the Component that willappear on the left of a horizontally-split pane, or at the top of a vertically-split pane
Parameters:
  rightComponent - the Component that willappear on the right of a horizontally-split pane, or at the bottom of a vertically-split pane
throws:
  IllegalArgumentException - if orientationis not one of: HORIZONTAL_SPLIT or VERTICAL_SPLIT



UIFSplitPane
public UIFSplitPane(int orientation, boolean continuousLayout, Component leftComponent, Component rightComponent)(Code)
Constructs a UIFSplitPane with the specified orientation, redrawing style, and given components.
Parameters:
  orientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT
Parameters:
  continuousLayout - a boolean, true for the components to redraw continuously as the divider changes position, falseto wait until the divider position stops changing to redraw
Parameters:
  leftComponent - the Component that willappear on the leftof a horizontally-split pane, or at the top of avertically-split pane
Parameters:
  rightComponent - the Component that willappear on the rightof a horizontally-split pane, or at the bottom of avertically-split pane
throws:
  IllegalArgumentException - if orientationis not one of HORIZONTAL_SPLIT or VERTICAL_SPLIT




Method Detail
createStrippedSplitPane
public static UIFSplitPane createStrippedSplitPane(int orientation, Component leftComponent, Component rightComponent)(Code)
Constructs a UIFSplitPane, i.e. a JSplitPane that has no borders. Also disabled the one touch exandable property.
Parameters:
  orientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT
Parameters:
  leftComponent - the Component that willappear on the left of a horizontally-split pane, or at the top of a vertically-split pane
Parameters:
  rightComponent - the Component that willappear on the right of a horizontally-split pane, or at the bottom of a vertically-split pane
throws:
  IllegalArgumentException - if orientationis not one of: HORIZONTAL_SPLIT or VERTICAL_SPLIT



isDividerBorderVisible
public boolean isDividerBorderVisible()(Code)
Checks and answers whether the divider border shall be visible or invisible. Note that this feature is not supported by all look&feels. Some look&feel implementation will always show a divider border, and conversely, others will never show a divider border. the desired (but potentially inaccurate) divider border visiblity



setDividerBorderVisible
public void setDividerBorderVisible(boolean newVisibility)(Code)
Makes the divider border visible or invisible. Note that this feature is not supported by all look&feels. Some look&feel implementation will always show a divider border, and conversely, others will never show a divider border.
Parameters:
  newVisibility - true for visible, false for invisible



updateUI
public void updateUI()(Code)
Updates the UI and sets an empty divider border. The divider border may be restored by a L&F at UI installation time. And so, we try to reset it each time the UI is changed.



Fields inherited from javax.swing.JSplitPane
final public static String BOTTOM(Code)(Java Doc)
final public static String CONTINUOUS_LAYOUT_PROPERTY(Code)(Java Doc)
final public static String DIVIDER(Code)(Java Doc)
final public static String DIVIDER_LOCATION_PROPERTY(Code)(Java Doc)
final public static String DIVIDER_SIZE_PROPERTY(Code)(Java Doc)
final public static int HORIZONTAL_SPLIT(Code)(Java Doc)
final public static String LAST_DIVIDER_LOCATION_PROPERTY(Code)(Java Doc)
final public static String LEFT(Code)(Java Doc)
final public static String ONE_TOUCH_EXPANDABLE_PROPERTY(Code)(Java Doc)
final public static String ORIENTATION_PROPERTY(Code)(Java Doc)
final public static String RESIZE_WEIGHT_PROPERTY(Code)(Java Doc)
final public static String RIGHT(Code)(Java Doc)
final public static String TOP(Code)(Java Doc)
final public static int VERTICAL_SPLIT(Code)(Java Doc)
protected boolean continuousLayout(Code)(Java Doc)
protected int dividerSize(Code)(Java Doc)
protected int lastDividerLocation(Code)(Java Doc)
protected Component leftComponent(Code)(Java Doc)
protected boolean oneTouchExpandable(Code)(Java Doc)
protected int orientation(Code)(Java Doc)
protected Component rightComponent(Code)(Java Doc)

Methods inherited from javax.swing.JSplitPane
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public Component getBottomComponent()(Code)(Java Doc)
public int getDividerLocation()(Code)(Java Doc)
public int getDividerSize()(Code)(Java Doc)
public int getLastDividerLocation()(Code)(Java Doc)
public Component getLeftComponent()(Code)(Java Doc)
public int getMaximumDividerLocation()(Code)(Java Doc)
public int getMinimumDividerLocation()(Code)(Java Doc)
public int getOrientation()(Code)(Java Doc)
public double getResizeWeight()(Code)(Java Doc)
public Component getRightComponent()(Code)(Java Doc)
public Component getTopComponent()(Code)(Java Doc)
public SplitPaneUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public boolean isContinuousLayout()(Code)(Java Doc)
public boolean isOneTouchExpandable()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
protected void paintChildren(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void remove(Component component)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public void resetToPreferredSizes()(Code)(Java Doc)
public void setBottomComponent(Component comp)(Code)(Java Doc)
public void setContinuousLayout(boolean newContinuousLayout)(Code)(Java Doc)
public void setDividerLocation(double proportionalLocation)(Code)(Java Doc)
public void setDividerLocation(int location)(Code)(Java Doc)
public void setDividerSize(int newSize)(Code)(Java Doc)
public void setLastDividerLocation(int newLastLocation)(Code)(Java Doc)
public void setLeftComponent(Component comp)(Code)(Java Doc)
public void setOneTouchExpandable(boolean newValue)(Code)(Java Doc)
public void setOrientation(int orientation)(Code)(Java Doc)
public void setResizeWeight(double value)(Code)(Java Doc)
public void setRightComponent(Component comp)(Code)(Java Doc)
public void setTopComponent(Component comp)(Code)(Java Doc)
public void setUI(SplitPaneUI 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.