Java Doc for ExtendedGridLayoutConstraints.java in  » Swing-Library » jEdit » org » gjt » sp » jedit » gui » 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 » jEdit » org.gjt.sp.jedit.gui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.gjt.sp.jedit.gui.ExtendedGridLayoutConstraints

ExtendedGridLayoutConstraints
public class ExtendedGridLayoutConstraints (Code)
Specifies constraints for components that are laid out using the ExtendedGridLayout class.
version:
   1.0
author:
   Björn "Vampire" Kautler
See Also:   ExtendedGridLayout
since:
   jEdit 4.3pre10


Field Summary
final public static  intREMAINDER
     Specifies that this component is the last component in its column or row and takes up the remaining space.

Constructor Summary
public  ExtendedGridLayoutConstraints(Component component)
     Creates an ExtendedGridLayoutConstraints object with all of its fields set to their default value.
public  ExtendedGridLayoutConstraints(int row, Component component)
     Creates an ExtendedGridLayoutConstraints object with all of its fields set to their default value except of the row which is specified.
public  ExtendedGridLayoutConstraints(int row, int colspan, int rowspan, Component component)
     Creates an ExtendedGridLayoutConstraints object with all of its fields set to the passed-in arguments.
Parameters:
  row - The row in which a component starts its display area.First row is 0.

Method Summary
public  booleanequals(Object o)
     Indicates whether some other object is "equal to" this one.

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x , x.equals(x) returns true .
  • It is symmetric: for any non-null reference values x and y , x.equals(y) returns true if and only if y.equals(x) returns true .
  • It is transitive: for any non-null reference values x , y , and z , if x.equals(y) returns true and y.equals(z) returns true , then x.equals(z) returns true .
  • It is consistent: for any non-null reference values x and y , multiple invocations of x.equals(y) consistently return true or consistently return false , provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x , x.equals(null) returns false .

The equals method for class ExtendedGridLayoutConstraints returns true if and only if the constraints objects describe the same Component
Parameters:
  o - the reference object with which to compare.

public  intgetCol()
    
public  intgetColspan()
    
 ExtendedGridLayoutConstraintsgetColspanPlaceholder(boolean forUsage)
     Creates an ExtendedGridLayoutConstraints object which can be used as placeholder for building a grid with colspans.
 ComponentgetComponent()
    
 intgetEffectiveColspan()
    
 intgetEffectiveRowspan()
    
public  intgetRow()
    
public  intgetRowspan()
    
 ExtendedGridLayoutConstraintsgetRowspanPlaceholder(boolean forUsage)
     Creates an ExtendedGridLayoutConstraints object which can be used as placeholder for building a grid with rowspans.
 ExtendedGridLayoutConstraintsgetWorkCopy()
     A work copy if this constraints object.
public  inthashCode()
     Returns a hash code value for the object.
public  booleanisPlaceholder()
    
 voidsetCol(int col)
    
public  StringtoString()
     Returns a string representation of the object.

Field Detail
REMAINDER
final public static int REMAINDER(Code)
Specifies that this component is the last component in its column or row and takes up the remaining space.




Constructor Detail
ExtendedGridLayoutConstraints
public ExtendedGridLayoutConstraints(Component component)(Code)
Creates an ExtendedGridLayoutConstraints object with all of its fields set to their default value. For further information about the default values see ExtendedGridLayoutConstraints.ExtendedGridLayoutConstraints(int,int,int,java.awt.Component) .
Parameters:
  component - The Component this constraints object describes



ExtendedGridLayoutConstraints
public ExtendedGridLayoutConstraints(int row, Component component)(Code)
Creates an ExtendedGridLayoutConstraints object with all of its fields set to their default value except of the row which is specified. For further information about the default values see ExtendedGridLayoutConstraints.ExtendedGridLayoutConstraints(int,int,int,java.awt.Component) .
Parameters:
  row - The row in which a component starts its display area. First row is 0
Parameters:
  component - The Component this constraints object d describes
throws:
  IllegalArgumentException - If row



ExtendedGridLayoutConstraints
public ExtendedGridLayoutConstraints(int row, int colspan, int rowspan, Component component)(Code)
Creates an ExtendedGridLayoutConstraints object with all of its fields set to the passed-in arguments.
Parameters:
  row - The row in which a component starts its display area.First row is 0. Default value is 0.
Parameters:
  colspan - The number of cells in a row for the component's display area.Use REMAINDER to specify that the component'sdisplay area will be from its grid position to the lastcell in the row. Default value is 1.
Parameters:
  rowspan - The number of cells in a column for the component's display area.Use REMAINDER to specify that the component'sdisplay area will be from its grid position to the lastcell in the column. Default value is 1.
Parameters:
  component - The Component this constraints object describes
throws:
  IllegalArgumentException - If row
throws:
  IllegalArgumentException - If colspan
throws:
  IllegalArgumentException - If rowspan




Method Detail
equals
public boolean equals(Object o)(Code)
Indicates whether some other object is "equal to" this one.

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x , x.equals(x) returns true .
  • It is symmetric: for any non-null reference values x and y , x.equals(y) returns true if and only if y.equals(x) returns true .
  • It is transitive: for any non-null reference values x , y , and z , if x.equals(y) returns true and y.equals(z) returns true , then x.equals(z) returns true .
  • It is consistent: for any non-null reference values x and y , multiple invocations of x.equals(y) consistently return true or consistently return false , provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x , x.equals(null) returns false .

The equals method for class ExtendedGridLayoutConstraints returns true if and only if the constraints objects describe the same Component
Parameters:
  o - the reference object with which to compare. true if this object is the same as the oargument; false otherwise.
See Also:   ExtendedGridLayoutConstraints.hashCode()
See Also:    java.util.Hashtable




getCol
public int getCol()(Code)
The column in which the component starts its display area.



getColspan
public int getColspan()(Code)
The number of cells in a row for the component's display areaor REMAINDER if the component's display area will befrom its grid position to the last cell in the row.



getColspanPlaceholder
ExtendedGridLayoutConstraints getColspanPlaceholder(boolean forUsage)(Code)
Creates an ExtendedGridLayoutConstraints object which can be used as placeholder for building a grid with colspans.
Parameters:
  forUsage - If the returned object will be used in the gridand therefor the effectiveColspan should be raised by one The newly created ExtendedGridLayoutConstraints object or null if no colspan is applicable
See Also:   ExtendedGridLayoutConstraints.getRowspanPlaceholder(boolean)



getComponent
Component getComponent()(Code)
The Component this constraints object describes



getEffectiveColspan
int getEffectiveColspan()(Code)
The effective number of cells in a row for the component's display area.



getEffectiveRowspan
int getEffectiveRowspan()(Code)
The effective number of cells in a column for the component's display area.



getRow
public int getRow()(Code)
The row in which the component starts its display area.



getRowspan
public int getRowspan()(Code)
The number of cells in a column for the component's display areaor REMAINDER if the component's display area will befrom its grid position to the last cell in the column.



getRowspanPlaceholder
ExtendedGridLayoutConstraints getRowspanPlaceholder(boolean forUsage)(Code)
Creates an ExtendedGridLayoutConstraints object which can be used as placeholder for building a grid with rowspans.
Parameters:
  forUsage - If the returned object will be used in the gridand therefor the effectiveRowspan should be raised by one The newly created ExtendedGridLayoutConstraints object or null if no rowspan is applicable
See Also:   ExtendedGridLayoutConstraints.getColspanPlaceholder(boolean)



getWorkCopy
ExtendedGridLayoutConstraints getWorkCopy()(Code)
A work copy if this constraints object. This is a flat copywhich means that the reference to the component stays the same.The returned object could be used without modifying thisconstraints object.



hashCode
public int hashCode()(Code)
Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable .

The general contract of hashCode is:

  • Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
  • If two objects are equal according to the equals(Object) method, then calling the hashCode method on each of the two objects must produce the same integer result.
  • It is not required that if two objects are unequal according to the java.lang.Object#equals(java.lang.Object) method, then calling the hashCode method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hashtables.
a hash code value for this object.
See Also:   ExtendedGridLayoutConstraints.equals(java.lang.Object)
See Also:    java.util.Hashtable



isPlaceholder
public boolean isPlaceholder()(Code)
Whether this constraints object is a placeholder or not



setCol
void setCol(int col)(Code)

Parameters:
  col - The column in which the component starts its display area.



toString
public String toString()(Code)
Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. a string representation of the object.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.