Java Doc for GridBagBaseModel.java in  » XML-UI » SwingML » org » swingml » model » 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 » SwingML » org.swingml.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.swingml.AbstractSwingMLModel
      org.swingml.SwingMLModel
         org.swingml.model.GridBagBaseModel

All known Subclasses:   org.swingml.model.GridBagCellModel,  org.swingml.model.GridBagRowModel,  org.swingml.model.GridBagPanelModel,
GridBagBaseModel
public class GridBagBaseModel extends SwingMLModel (Code)
This class is the parent of all GridBag model components. It contains properties that correspond to the settings contained with the GridBagConstraints class. These values are set by the GridBagBaseMapper class during the parsing of a SwingML document.
author:
   Robert J. Morris
See Also:   org.swingml.model.GridBagCellModel
See Also:   org.swingml.model.GridBagRowModel
See Also:   org.swingml.model.GridBagPanelModel
See Also:   java.awt.GridBagConstraints


Field Summary
protected  intm_anchor
    
protected  intm_fill
    
protected  intm_gridheight
    
protected  intm_gridwidth
    
protected  intm_ipadx
    
protected  intm_ipady
    
protected  Stringm_name
    
protected  intm_padding
    
protected  doublem_weightx
    
protected  doublem_weighty
    

Constructor Summary
public  GridBagBaseModel()
    

Method Summary
public  intgetAnchor()
     Retrieves the anchor property that corresponds to the anchor attribute of the GridBagLayout class.
public  GridBagConstraintsgetConstraints()
     This method returns a valid reference to an instance of the @see java.awt.GridBagConstraints class with attribute values set according to the property values contained within the current instance.
public  intgetFill()
     Retrieves the value of the Fill property.
public  intgetGridHeight()
     Returns the GridHeight property that corresponds to the gridheight attribute of the GridBagConstraints class.
public  intgetGridWidth()
     Returns the GridWidth property that corresponds to the gridwidth attribute of the GridBagConstraints class.
public  intgetIpadx()
     Retrieves the value of the Ipadx property.
public  intgetIpady()
     Retrieves the value of the Ipady property.
public  StringgetName()
     Returns the name of the current instance of the GridBagBaseModel.
public  intgetPadding()
     Retrieves the value of the Padding property.
public  doublegetWeightx()
     Returns the Weightx property that corresponds to the weightx attribute of the GridBagConstraints class.
public  doublegetWeighty()
     Returns the Weighty property that corresponds to the weighty attribute of the GridBagConstraints class.
public  voidsetAnchor(int anAnchor)
     Sets the anchor property that corresponds to the anchor attribute of the GridBagLayout class.
Parameters:
  anchor - An int corresponding to one of the following anchor constants exposedby the GridBagConstraints class.
public  voidsetFill(int aFill)
     Set the value of the fill property.
public  voidsetGridHeight(int aGridheight)
     Sets the GridHeight property that corresponds to the gridheight attribute of the GridBagConstraints class.
public  voidsetGridWidth(int aGridwidth)
     Sets the GridWidth property that corresponds to the gridwidth attribute of the GridBagConstraints class.
public  voidsetIpadx(int aPadx)
     Sets the value of the Ipadx property.
public  voidsetIpady(int anIpady)
     Sets the value of Ipady property.
public  voidsetName(String aName)
     Sets the name of the current instance of the GridBagBaseModel.
public  voidsetPadding(int aPadding)
     Sets the value of the Padding property.
public  voidsetValues(GridBagBaseModel aBaseModel)
     This method takes the values contained within the specified baseModel parameter to set the values of the current instance.
public  voidsetWeightx(double aWeightx)
     Sets the Weightx property that corresponds to the weightx attribute of the GridBagConstraints class.
public  voidsetWeighty(double aWeighty)
     Sets the Weighty property that corresponds to the weighty attribute of the GridBagConstraints class.
public  voidvalidate()
    

Field Detail
m_anchor
protected int m_anchor(Code)



m_fill
protected int m_fill(Code)



m_gridheight
protected int m_gridheight(Code)



m_gridwidth
protected int m_gridwidth(Code)



m_ipadx
protected int m_ipadx(Code)



m_ipady
protected int m_ipady(Code)



m_name
protected String m_name(Code)



m_padding
protected int m_padding(Code)



m_weightx
protected double m_weightx(Code)



m_weighty
protected double m_weighty(Code)




Constructor Detail
GridBagBaseModel
public GridBagBaseModel()(Code)




Method Detail
getAnchor
public int getAnchor()(Code)
Retrieves the anchor property that corresponds to the anchor attribute of the GridBagLayout class. An int corresponding to one of the following anchor constants exposedby the GridBagConstraints class
See Also:   java.awt.GridBagConstraints
See Also:   java.awt.GridBagConstraints.NORTH
See Also:   java.awt.GridBagConstraints.NORTHEAST
See Also:   java.awt.GridBagConstraints.NORTHWEST
See Also:   java.awt.GridBagConstraints.EAST
See Also:   java.awt.GridBagConstraints.WEST
See Also:   java.awt.GridBagConstraints.SOUTH
See Also:   java.awt.GridBagConstraints.SOUTHEAST
See Also:   java.awt.GridBagConstraints.SOUTHWEST



getConstraints
public GridBagConstraints getConstraints()(Code)
This method returns a valid reference to an instance of the @see java.awt.GridBagConstraints class with attribute values set according to the property values contained within the current instance. A valid reference to an instance of the GridBagConstraints class.



getFill
public int getFill()(Code)
Retrieves the value of the Fill property. The value of the fill property.



getGridHeight
public int getGridHeight()(Code)
Returns the GridHeight property that corresponds to the gridheight attribute of the GridBagConstraints class. The number of vertical spaces a component should occupy in a GridBagLayout.



getGridWidth
public int getGridWidth()(Code)
Returns the GridWidth property that corresponds to the gridwidth attribute of the GridBagConstraints class. The number of horizontal spaces a component should occupy in a GridBagLayout.



getIpadx
public int getIpadx()(Code)
Retrieves the value of the Ipadx property. The value of the Ipadx property.



getIpady
public int getIpady()(Code)
Retrieves the value of the Ipady property. An int representing the value of the Ipady property.



getName
public String getName()(Code)
Returns the name of the current instance of the GridBagBaseModel. The name of the current instance of GridBagBaseModel.



getPadding
public int getPadding()(Code)
Retrieves the value of the Padding property. The valud of the Padding property.



getWeightx
public double getWeightx()(Code)
Returns the Weightx property that corresponds to the weightx attribute of the GridBagConstraints class. An int representing how much the GridBagLayout should favorthe current cell when rendering the horizontal space it occupies.



getWeighty
public double getWeighty()(Code)
Returns the Weighty property that corresponds to the weighty attribute of the GridBagConstraints class. An int representing how much the GridBagLayout should favorthe current cell when rendering the vertical space it occupies.



setAnchor
public void setAnchor(int anAnchor)(Code)
Sets the anchor property that corresponds to the anchor attribute of the GridBagLayout class.
Parameters:
  anchor - An int corresponding to one of the following anchor constants exposedby the GridBagConstraints class. This setting indicates where a component appears within its cell in a GridBagLayout.
See Also:   java.awt.GridBagConstraints
See Also:   java.awt.GridBagConstraints.NORTH
See Also:   java.awt.GridBagConstraints.NORTHEAST
See Also:   java.awt.GridBagConstraints.NORTHWEST
See Also:   java.awt.GridBagConstraints.EAST
See Also:   java.awt.GridBagConstraints.WEST
See Also:   java.awt.GridBagConstraints.SOUTH
See Also:   java.awt.GridBagConstraints.SOUTHEAST
See Also:   java.awt.GridBagConstraints.SOUTHWEST



setFill
public void setFill(int aFill)(Code)
Set the value of the fill property.
Parameters:
  fill - An int representing the fill property.



setGridHeight
public void setGridHeight(int aGridheight)(Code)
Sets the GridHeight property that corresponds to the gridheight attribute of the GridBagConstraints class.
Parameters:
  gridheight - An int representing how many vertical spaces a component should occupy in a GridBagLayout.



setGridWidth
public void setGridWidth(int aGridwidth)(Code)
Sets the GridWidth property that corresponds to the gridwidth attribute of the GridBagConstraints class.
Parameters:
  gridwidth - An int representing how many horizontal spaces a component should occupy in a GridBagLayout.



setIpadx
public void setIpadx(int aPadx)(Code)
Sets the value of the Ipadx property.
Parameters:
  padx - The new value of the Ipadx property.



setIpady
public void setIpady(int anIpady)(Code)
Sets the value of Ipady property.
Parameters:
  ipady - An int representing the new value of the Ipady property.



setName
public void setName(String aName)(Code)
Sets the name of the current instance of the GridBagBaseModel.



setPadding
public void setPadding(int aPadding)(Code)
Sets the value of the Padding property.
Parameters:
  padding - The new value of the Padding property.



setValues
public void setValues(GridBagBaseModel aBaseModel)(Code)
This method takes the values contained within the specified baseModel parameter to set the values of the current instance.
Parameters:
  baseModel - A reference to another GridBagBaseModel to copy.



setWeightx
public void setWeightx(double aWeightx)(Code)
Sets the Weightx property that corresponds to the weightx attribute of the GridBagConstraints class.
Parameters:
  weightx - An int representing how much the GridBagLayout should favorthe current cell when rendering the horizontal space it occupies.



setWeighty
public void setWeighty(double aWeighty)(Code)
Sets the Weighty property that corresponds to the weighty attribute of the GridBagConstraints class.
Parameters:
  weighty - An int representing how much the GridBagLayout should favorthe current cell when rendering the vertical space it occupies.



validate
public void validate()(Code)

See Also:   org.swingml.SwingMLModel



Methods inherited from org.swingml.SwingMLModel
public void addHandler(int errorType, ISwingMLErrorHandler handler)(Code)(Java Doc)
public ColorComponent getBackground()(Code)(Java Doc)
public Map getErrorHandlers()(Code)(Java Doc)
public String getFontName()(Code)(Java Doc)
public String getFontSize()(Code)(Java Doc)
public String getFontStyle()(Code)(Java Doc)
public ColorComponent getForeground()(Code)(Java Doc)
public ISwingMLErrorHandler[] getHandlers(int errorType)(Code)(Java Doc)
public String getIcon()(Code)(Java Doc)
public String getOrientation()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public String getTooltip()(Code)(Java Doc)
public void handle(ISwingMLError[] errors)(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public void removeHandler(int errorType, ISwingMLErrorHandler handler)(Code)(Java Doc)
public void removeHandlers(int errorType)(Code)(Java Doc)
public void setBackground(ColorComponent component)(Code)(Java Doc)
public void setErrorHandlers(Map handlers)(Code)(Java Doc)
public void setFontName(String string)(Code)(Java Doc)
public void setFontSize(String string)(Code)(Java Doc)
public void setFontStyle(String string)(Code)(Java Doc)
public void setForeground(ColorComponent component)(Code)(Java Doc)
public void setIcon(String anIcon)(Code)(Java Doc)
public void setOrientation(String anOrientation)(Code)(Java Doc)
public void setText(String aText)(Code)(Java Doc)
public void setTooltip(String aTooltip)(Code)(Java Doc)
public void setVisible(boolean aVisible)(Code)(Java Doc)
public void validate()(Code)(Java Doc)

Methods inherited from org.swingml.AbstractSwingMLModel
public void addChild(Object aChild)(Code)(Java Doc)
public void addListener(Object aListener)(Code)(Java Doc)
public List getChildren()(Code)(Java Doc)
public Container getContainer()(Code)(Java Doc)
public Long getGuid()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public String getLayout()(Code)(Java Doc)
public List getListeners()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public AbstractSwingMLModel getParent()(Code)(Java Doc)
public boolean hasChildren()(Code)(Java Doc)
public boolean hasListeners()(Code)(Java Doc)
public boolean hasListenersFor(String event)(Code)(Java Doc)
public void removeChild(Object aChild)(Code)(Java Doc)
public void setContainer(Container aContainer)(Code)(Java Doc)
public void setGuid(Long guid)(Code)(Java Doc)
public void setId(String id)(Code)(Java Doc)
public void setLayout(String aLayout)(Code)(Java Doc)
public void setName(String aName)(Code)(Java Doc)
public void setParent(AbstractSwingMLModel aParent)(Code)(Java Doc)
public void unregister(Container aContainer)(Code)(Java Doc)
public void windowActivated(WindowEvent e)(Code)(Java Doc)
public void windowClosed(WindowEvent e)(Code)(Java Doc)
public void windowClosing(WindowEvent e)(Code)(Java Doc)
public void windowDeactivated(WindowEvent e)(Code)(Java Doc)
public void windowDeiconified(WindowEvent e)(Code)(Java Doc)
public void windowIconified(WindowEvent e)(Code)(Java Doc)
public void windowOpened(WindowEvent e)(Code)(Java Doc)

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.