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


java.lang.Object
   org.millstone.base.ui.AbstractComponent
      org.millstone.base.ui.Embedded

Embedded
public class Embedded extends AbstractComponent implements Sizeable(Code)
Component for embedding external objects.
author:
   IT Mill Ltd.
version:
   3.1.1
since:
   3.0


Field Summary
final public static  intTYPE_IMAGE
    
final public static  intTYPE_OBJECT
    

Constructor Summary
public  Embedded()
     Creates a new empty Embedded object.
public  Embedded(String caption)
     Creates a new empty Embedded object with caption.
public  Embedded(String caption, Resource source)
     Creates a new Embedded object whose contents is loaded from given resource.

Method Summary
public  StringgetArchive()
     Returns the archive attribute.
public  StringgetClassId()
     Returns the classId attribute.
public  StringgetCodebase()
     Returns the codebase, the root-path used to access resources with relative paths.
public  StringgetCodetype()
     Returns the MIME-Type of the code.
public  intgetHeight()
     Returns the visual height of the object.
public  intgetHeightUnits()
     Get height property units.
public  StringgetMimeType()
    
public  StringgetParameter(String name)
     Get the value of an object parameter. Parameters are optional information, and they are passed to the instantiated object.
public  IteratorgetParameterNames()
     Get embedded object parameter names.
public  ResourcegetSource()
     Get the resource contained in the embedded object.
public  StringgetStandby()
     Returns the standby text displayed when the object is loading.
public  StringgetTag()
     Get component UIDL tag.
public  intgetType()
     Get the type of the embedded object.
public  intgetWidth()
     Returns the visual width of the object.
public  intgetWidthUnits()
     Get width property units.
public  voidpaintContent(PaintTarget target)
    
public  voidremoveParameter(String name)
     Remove an object parameter from the list.
public  voidsetArchive(String archive)
     Sets the archive attribute.
public  voidsetClassId(String classId)
     Sets the classId attribute.
public  voidsetCodebase(String codebase)
     Sets the codebase, the root-path used to access resources with relative paths.
public  voidsetCodetype(String codetype)
     Sets the codetype, the MIME-Type of the code.
public  voidsetHeight(int height)
     Sets the visual height of the object.
public  voidsetHeightUnits(int units)
     Set height property units.
public  voidsetMimeType(String mimeType)
     Sets the mimeType, the MIME-Type of the object.
public  voidsetParameter(String name, String value)
     Set an object parameter. Parameters are optional information, and they are passed to the instantiated object.
public  voidsetSource(Resource source)
     Set the object source resource. The dimensions are assumed if possible.
public  voidsetStandby(String standby)
     Sets the standby, the text to display while loading the object.
public  voidsetType(int type)
     Sets the object type.
public  voidsetWidth(int width)
     Sets the visual width of the object.
public  voidsetWidthUnits(int units)
     Set width property units.

Field Detail
TYPE_IMAGE
final public static int TYPE_IMAGE(Code)
Image types



TYPE_OBJECT
final public static int TYPE_OBJECT(Code)
General object type




Constructor Detail
Embedded
public Embedded()(Code)
Creates a new empty Embedded object.



Embedded
public Embedded(String caption)(Code)
Creates a new empty Embedded object with caption.



Embedded
public Embedded(String caption, Resource source)(Code)
Creates a new Embedded object whose contents is loaded from given resource. The dimensions are assumed if possible. The type is guessed from resource.




Method Detail
getArchive
public String getArchive()(Code)
Returns the archive attribute. String



getClassId
public String getClassId()(Code)
Returns the classId attribute. String



getCodebase
public String getCodebase()(Code)
Returns the codebase, the root-path used to access resources with relative paths. String



getCodetype
public String getCodetype()(Code)
Returns the MIME-Type of the code. String



getHeight
public int getHeight()(Code)
Returns the visual height of the object. Default height is -1, which is interpreted as "unspecified". The height in units specified by heightUnits property.



getHeightUnits
public int getHeightUnits()(Code)
Get height property units. Default units are Sizeable.UNITS_PIXELS.
See Also:   org.millstone.base.terminal.Sizeable.getHeightUnits



getMimeType
public String getMimeType()(Code)
Returns the MIME-Type of the object String



getParameter
public String getParameter(String name)(Code)
Get the value of an object parameter. Parameters are optional information, and they are passed to the instantiated object. Parameters are are stored as name value pairs. Value of parameter or null if not found.



getParameterNames
public Iterator getParameterNames()(Code)
Get embedded object parameter names. Iterator of parameters names.



getSource
public Resource getSource()(Code)
Get the resource contained in the embedded object. Resource



getStandby
public String getStandby()(Code)
Returns the standby text displayed when the object is loading. String



getTag
public String getTag()(Code)
Get component UIDL tag. Component UIDL tag as string.



getType
public int getType()(Code)
Get the type of the embedded object.

This can be one of the following:

  • TYPE_OBJECT (This is the default)
  • TYPE_IMAGE

int



getWidth
public int getWidth()(Code)
Returns the visual width of the object. Default width is -1, which is interpreted as "unspecified". The width in units specified by widthUnits property.



getWidthUnits
public int getWidthUnits()(Code)
Get width property units. Default units are Sizeable.UNITS_PIXELS.
See Also:   org.millstone.base.terminal.Sizeable.getWidthUnits



paintContent
public void paintContent(PaintTarget target) throws PaintException(Code)
Invoked when the component state should be painted



removeParameter
public void removeParameter(String name)(Code)
Remove an object parameter from the list.
Parameters:
  name - - The name of the parameter to remove.



setArchive
public void setArchive(String archive)(Code)
Sets the archive attribute.
Parameters:
  archive - The archive string to set



setClassId
public void setClassId(String classId)(Code)
Sets the classId attribute.
Parameters:
  classId - The classId to set



setCodebase
public void setCodebase(String codebase)(Code)
Sets the codebase, the root-path used to access resources with relative paths.
Parameters:
  codebase - The codebase to set



setCodetype
public void setCodetype(String codetype)(Code)
Sets the codetype, the MIME-Type of the code.
Parameters:
  codetype - The codetype to set



setHeight
public void setHeight(int height)(Code)
Sets the visual height of the object. Default height is -1, which is interpreted as "unspecified".
Parameters:
  height - The height in units specified by heightUnits property.



setHeightUnits
public void setHeightUnits(int units)(Code)
Set height property units.
See Also:   org.millstone.base.terminal.Sizeable.setHeightUnits(int)



setMimeType
public void setMimeType(String mimeType)(Code)
Sets the mimeType, the MIME-Type of the object.
Parameters:
  mimeType - The mimeType to set



setParameter
public void setParameter(String name, String value)(Code)
Set an object parameter. Parameters are optional information, and they are passed to the instantiated object. Parameters are are stored as name value pairs. This overrides the previous value assigned to this parameter.
Parameters:
  name - - The name of the parameter.
Parameters:
  value - - The value of the parameter.



setSource
public void setSource(Resource source)(Code)
Set the object source resource. The dimensions are assumed if possible. The type is guessed from resource.
Parameters:
  source - The source to set



setStandby
public void setStandby(String standby)(Code)
Sets the standby, the text to display while loading the object.
Parameters:
  standby - The standby to set



setType
public void setType(int type)(Code)
Sets the object type.

This can be one of the following:

  • TYPE_OBJECT (This is the default)
  • TYPE_IMAGE


Parameters:
  type - The type to set



setWidth
public void setWidth(int width)(Code)
Sets the visual width of the object. Default width is -1, which is interpreted as "unspecified".
Parameters:
  width - The width in units specified by widthUnits property.



setWidthUnits
public void setWidthUnits(int units)(Code)
Set width property units.
See Also:   org.millstone.base.terminal.Sizeable.setWidthUnits(int)



Methods inherited from org.millstone.base.ui.AbstractComponent
public void addListener(RepaintRequestListener listener)(Code)(Java Doc)
public void addListener(Class eventType, Object object, Method method)(Code)(Java Doc)
public void addListener(Class eventType, Object object, String methodName)(Code)(Java Doc)
public void addListener(Component.Listener listener)(Code)(Java Doc)
public void attach()(Code)(Java Doc)
public void changeVariables(Object source, Map variables)(Code)(Java Doc)
public void childRequestedRepaint(Collection alreadyNotified)(Code)(Java Doc)
public void dependsOn(VariableOwner depended)(Code)(Java Doc)
public void detach()(Code)(Java Doc)
protected void fireComponentErrorEvent()(Code)(Java Doc)
protected void fireComponentEvent()(Code)(Java Doc)
protected void fireEvent(Component.Event event)(Code)(Java Doc)
public Application getApplication()(Code)(Java Doc)
public String getCaption()(Code)(Java Doc)
public ErrorMessage getComponentError()(Code)(Java Doc)
public Object getData()(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
public Set getDirectDependencies()(Code)(Java Doc)
public ErrorMessage getErrorMessage()(Code)(Java Doc)
public Resource getIcon()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Component getParent()(Code)(Java Doc)
public String getStyle()(Code)(Java Doc)
abstract public String getTag()(Code)(Java Doc)
public Window getWindow()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isImmediate()(Code)(Java Doc)
public boolean isReadOnly()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
final public void paint(PaintTarget target) throws PaintException(Code)(Java Doc)
public void paintContent(PaintTarget target) throws PaintException(Code)(Java Doc)
public void removeDirectDependency(VariableOwner depended)(Code)(Java Doc)
public void removeListener(RepaintRequestListener listener)(Code)(Java Doc)
public void removeListener(Class eventType, Object target)(Code)(Java Doc)
public void removeListener(Class eventType, Object target, Method method)(Code)(Java Doc)
public void removeListener(Class eventType, Object target, String methodName)(Code)(Java Doc)
public void removeListener(Component.Listener listener)(Code)(Java Doc)
public void requestRepaint()(Code)(Java Doc)
public void requestRepaintRequests()(Code)(Java Doc)
public void setCaption(String caption)(Code)(Java Doc)
public void setComponentError(ErrorMessage componentError)(Code)(Java Doc)
public void setData(Object data)(Code)(Java Doc)
public void setDescription(String description)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setIcon(Resource icon)(Code)(Java Doc)
public void setImmediate(boolean immediate)(Code)(Java Doc)
public void setLocale(Locale locale)(Code)(Java Doc)
public void setParent(Component parent)(Code)(Java Doc)
public void setReadOnly(boolean readOnly)(Code)(Java Doc)
public void setStyle(String style)(Code)(Java Doc)
public void setVisible(boolean visible)(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.