Java Doc for Sizeable.java in  » Web-Framework » Millstone » org » millstone » base » terminal » 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 » Web Framework » Millstone » org.millstone.base.terminal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.millstone.base.terminal.Sizeable

All known Subclasses:   org.millstone.base.ui.Panel,  org.millstone.base.ui.Embedded,
Sizeable
public interface Sizeable (Code)
Interface to be implemented by components wishing to display some object that may be dynamically resized during runtime.
author:
   IT Mill Ltd.
version:
   3.1.1
since:
   3.0


Field Summary
final public static  intUNITS_CM
     Unit code representing centimetres.
final public static  intUNITS_EM
     Unit code representing the font-size of the relevant font.
final public static  intUNITS_EX
     Unit code representing the x-height of the relevant font.
final public static  intUNITS_INCH
     Unit code representing inches.
final public static  intUNITS_MM
     Unit code representing millimetres.
final public static  intUNITS_PERCENTAGE
     Unit code representing in percentage of the containing element defined by terminal.
final public static  intUNITS_PICAS
     Unit code representing picas (12 points).
final public static  intUNITS_PIXELS
     Unit code representing pixels.
final public static  intUNITS_POINTS
     Unit code representing points (1/72nd of an inch).
final public static  String[]UNIT_SYMBOLS
     Textual representations of units symbols. Supported units and their symbols are:
  • UNITS_PIXELS: "" (unit is omitted for pixels)
  • UNITS_POINTS: "pt"
  • UNITS_PICAS: "pc"
  • UNITS_EM: "em"
  • UNITS_EX: "ex"
  • UNITS_MM: "mm"
  • UNITS_CM.


Method Summary
public  intgetHeight()
     Get height of the object.
public  intgetHeightUnits()
     Get height property units.
public  intgetWidth()
     Get width of the object.
public  intgetWidthUnits()
     Get width property units.
public  voidsetHeight(int height)
     Set height of the object.
public  voidsetHeightUnits(int units)
     Set height property units.
public  voidsetWidth(int width)
     Set width of the object.
public  voidsetWidthUnits(int units)
     Set width property units.

Field Detail
UNITS_CM
final public static int UNITS_CM(Code)
Unit code representing centimetres.



UNITS_EM
final public static int UNITS_EM(Code)
Unit code representing the font-size of the relevant font.



UNITS_EX
final public static int UNITS_EX(Code)
Unit code representing the x-height of the relevant font.



UNITS_INCH
final public static int UNITS_INCH(Code)
Unit code representing inches.



UNITS_MM
final public static int UNITS_MM(Code)
Unit code representing millimetres.



UNITS_PERCENTAGE
final public static int UNITS_PERCENTAGE(Code)
Unit code representing in percentage of the containing element defined by terminal.



UNITS_PICAS
final public static int UNITS_PICAS(Code)
Unit code representing picas (12 points).



UNITS_PIXELS
final public static int UNITS_PIXELS(Code)
Unit code representing pixels.



UNITS_POINTS
final public static int UNITS_POINTS(Code)
Unit code representing points (1/72nd of an inch).



UNIT_SYMBOLS
final public static String[] UNIT_SYMBOLS(Code)
Textual representations of units symbols. Supported units and their symbols are:
  • UNITS_PIXELS: "" (unit is omitted for pixels)
  • UNITS_POINTS: "pt"
  • UNITS_PICAS: "pc"
  • UNITS_EM: "em"
  • UNITS_EX: "ex"
  • UNITS_MM: "mm"
  • UNITS_CM. "cm"
  • UNITS_INCH: "in"
  • UNITS_PERCENTAGE: "%"
These can be used like Sizeable.UNIT_SYMBOLS[UNITS_PIXELS].





Method Detail
getHeight
public int getHeight()(Code)
Get height of the object. Negative number implies unspecified size (terminal is free to set the size). height of the object in units specified by heightUnits property.



getHeightUnits
public int getHeightUnits()(Code)
Get height property units. units used in height property.



getWidth
public int getWidth()(Code)
Get width of the object. Negative number implies unspecified size (terminal is free to set the size). width of the object in units specified by widthUnits property.



getWidthUnits
public int getWidthUnits()(Code)
Get width property units. units used in width property.



setHeight
public void setHeight(int height)(Code)
Set height of the object. Negative number implies unspecified size (terminal is free to set the size).
Parameters:
  height - height of the object in units specified by heightUnits property.



setHeightUnits
public void setHeightUnits(int units)(Code)
Set height property units.
Parameters:
  units - units used in height property.



setWidth
public void setWidth(int width)(Code)
Set width of the object. Negative number implies unspecified size (terminal is free to set the size).
Parameters:
  width - width of the object in units specified by widthUnits property.



setWidthUnits
public void setWidthUnits(int units)(Code)
Set width property units.
Parameters:
  units - units used in width property.



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