Java Doc for HtmlPopup.java in  » J2EE » Sofia » com » salmonllc » html » 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 » J2EE » Sofia » com.salmonllc.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.salmonllc.html.HtmlComponent
      com.salmonllc.html.HtmlContainer
         com.salmonllc.html.HtmlPopup

HtmlPopup
public class HtmlPopup extends HtmlContainer (Code)
HtmlPopup is a class which gives a developer a way to generate a div/layer component of a HTML page that can be used as a popup.


Field Summary
 int_cellpadding
    
 boolean_fixedLocation
    
 HtmlComponent_hcComp
    
 String_hideCondition
    
 String_hideScript
    
 HtmlLayer_hlPopup
    
 HtmlStyle_hsPopup
    
 HtmlScript_hscPopup
    
 boolean_offsetByHeight
    
 boolean_offsetByParent
    
 boolean_offsetByWidth
    
 String_visibleScript
    
 int_width
    
 int_x
    
 int_xanchoroffset
    
 int_xvisibleoffset
    
 int_y
    
 int_yanchoroffset
    
 int_yvisibleoffset
    

Constructor Summary
public  HtmlPopup(String name, int x, int y, int width, int xvisibleoffset, int yvisibleoffset, HtmlPage p, boolean fixed)
     HtmlPopup constructor comment.
public  HtmlPopup(String name, int x, int y, int width, HtmlPage p)
     HtmlPopup constructor comment.
public  HtmlPopup(String name, int x, int y, int width, HtmlPage p, boolean fixed)
     HtmlPopup constructor comment.
public  HtmlPopup(String name, int width, HtmlPage p)
     HtmlPopup constructor comment.
public  HtmlPopup(String name, HtmlComponent comp, int width, HtmlPage p)
     HtmlPopup constructor comment.
public  HtmlPopup(String name, HtmlComponent comp, int width, boolean offsetByWidth, boolean offsetByHeight, HtmlPage p)
     HtmlPopup constructor comment.
public  HtmlPopup(String name, HtmlComponent comp, int width, boolean offsetByWidth, boolean offsetByHeight, boolean offsetByParent, HtmlPage p)
     HtmlPopup constructor comment.

Method Summary
public  voidadd(HtmlComponent comp)
    
public  voidgenerateHTML(java.io.PrintWriter p, int rowNo)
    
public  intgetCellPadding()
     Returns the cell padding specified by the developer.
public  EnumerationgetComponents()
     This method will return a list of all components in the container.
public  booleangetFixedLocation()
     Returns whether the popup displays in a fixed location.
public  StringgetHideCondition()
     Returns the Javascript condition under which the Popup hides.
public  StringgetHideScript()
     Returns the Javascript used after hiding the Popup.
public  StringgetPopupScript()
     Returns the Javascript call to be made in javascript to decide to leaveup/hide popup.
public  StringgetPopupShowScript()
     Returns the Javascript call to be made in javascript to show popup.
public  StringgetVisibleScript()
     Returns the Javascript used after showing the Popup.
public  voidsetCellPadding(int iCellPadding)
     Sets the cellpadding used in generating the scripts representing the cell padding of the table containing the popup.
public  voidsetFixedLocation(boolean bFixed)
     Sets whether the popup is in a fixed location or not.
public  voidsetHideCondition(String sHideConditon)
     Specifies the javascript condition to use to hide the popup.
public  voidsetHideScript(String sHideScript)
     Specifies the javascript to be executed after hiding the popup.
public  voidsetVisibleScript(String sVisibleScript)
     Specifies the javascript to be executed after showing the popup.

Field Detail
_cellpadding
int _cellpadding(Code)



_fixedLocation
boolean _fixedLocation(Code)



_hcComp
HtmlComponent _hcComp(Code)



_hideCondition
String _hideCondition(Code)



_hideScript
String _hideScript(Code)



_hlPopup
HtmlLayer _hlPopup(Code)



_hsPopup
HtmlStyle _hsPopup(Code)



_hscPopup
HtmlScript _hscPopup(Code)



_offsetByHeight
boolean _offsetByHeight(Code)



_offsetByParent
boolean _offsetByParent(Code)



_offsetByWidth
boolean _offsetByWidth(Code)



_visibleScript
String _visibleScript(Code)



_width
int _width(Code)



_x
int _x(Code)



_xanchoroffset
int _xanchoroffset(Code)



_xvisibleoffset
int _xvisibleoffset(Code)



_y
int _y(Code)



_yanchoroffset
int _yanchoroffset(Code)



_yvisibleoffset
int _yvisibleoffset(Code)




Constructor Detail
HtmlPopup
public HtmlPopup(String name, int x, int y, int width, int xvisibleoffset, int yvisibleoffset, HtmlPage p, boolean fixed)(Code)
HtmlPopup constructor comment.
Parameters:
  name - java.lang.String Name of the div/layer tag generated.
Parameters:
  comp - com.salmonllc.html.HtmlComponent The component which the div/layer is linked to.
Parameters:
  x - int The x coordinate of the popup.
Parameters:
  y - int The y coordinate of the popup.
Parameters:
  width - int The width of the div/layer in pixels.
Parameters:
  xvisibleoffset - int The number of horizontal pixels allowed to be away from the Popup in order for it to stay visible.
Parameters:
  yvisibleoffset - int The number of vertical pixels allowed to be away from the Popup in order for it to stay visible.
Parameters:
  p - com.salmonllc.html.HtmlPage The page that this popup is part of.
Parameters:
  fixed - boolean A boolean indicating whether the popup is to have a fixed location.



HtmlPopup
public HtmlPopup(String name, int x, int y, int width, HtmlPage p)(Code)
HtmlPopup constructor comment.
Parameters:
  name - java.lang.String Name of the div/layer tag generated.
Parameters:
  comp - com.salmonllc.html.HtmlComponent The component which the div/layer is linked to.
Parameters:
  x - int The x coordinate of the popup.
Parameters:
  y - int The y coordinate of the popup.
Parameters:
  width - int The width of the div/layer in pixels.
Parameters:
  p - com.salmonllc.html.HtmlPage The page that this popup is part of.



HtmlPopup
public HtmlPopup(String name, int x, int y, int width, HtmlPage p, boolean fixed)(Code)
HtmlPopup constructor comment.
Parameters:
  name - java.lang.String Name of the div/layer tag generated.
Parameters:
  comp - com.salmonllc.html.HtmlComponent The component which the div/layer is linked to.
Parameters:
  x - int The x coordinate of the popup.
Parameters:
  y - int The y coordinate of the popup.
Parameters:
  width - int The width of the div/layer in pixels.
Parameters:
  p - com.salmonllc.html.HtmlPage The page that this popup is part of.
Parameters:
  fixed - boolean A boolean indicating whether the popup is to have a fixed location.



HtmlPopup
public HtmlPopup(String name, int width, HtmlPage p)(Code)
HtmlPopup constructor comment.
Parameters:
  name - java.lang.String Name of the div/layer tag generated.
Parameters:
  width - int The width of the div/layer in pixels.
Parameters:
  p - com.salmonllc.html.HtmlPage The page that this popup is part of.



HtmlPopup
public HtmlPopup(String name, HtmlComponent comp, int width, HtmlPage p)(Code)
HtmlPopup constructor comment.
Parameters:
  name - java.lang.String Name of the div/layer tag generated.
Parameters:
  comp - com.salmonllc.html.HtmlComponent The component which the div/layer is linked to.
Parameters:
  width - int The width of the div/layer in pixels.
Parameters:
  p - com.salmonllc.html.HtmlPage The page that this popup is part of.



HtmlPopup
public HtmlPopup(String name, HtmlComponent comp, int width, boolean offsetByWidth, boolean offsetByHeight, HtmlPage p)(Code)
HtmlPopup constructor comment.
Parameters:
  name - java.lang.String Name of the div/layer tag generated.
Parameters:
  comp - com.salmonllc.html.HtmlComponent The component which the div/layer is linked to.
Parameters:
  width - int The width of the div/layer in pixels.
Parameters:
  offsetByWidth - boolean A flag to indicate to display the Popup to the right of comp.
Parameters:
  offsetByHeight - boolean A flag to indicate to display the Popup below comp.
Parameters:
  p - com.salmonllc.html.HtmlPage The page that this popup is part of.



HtmlPopup
public HtmlPopup(String name, HtmlComponent comp, int width, boolean offsetByWidth, boolean offsetByHeight, boolean offsetByParent, HtmlPage p)(Code)
HtmlPopup constructor comment.
Parameters:
  name - java.lang.String Name of the div/layer tag generated.
Parameters:
  comp - com.salmonllc.html.HtmlComponent The component which the div/layer is linked to.
Parameters:
  width - int The width of the div/layer in pixels.
Parameters:
  offsetByWidth - boolean A flag to indicate to display the Popup to the right of comp.
Parameters:
  offsetByHeight - boolean A flag to indicate to display the Popup below comp.
Parameters:
  offsetByParent - boolean A flag to indicate to display the Popup relative to comp parent component.
Parameters:
  p - com.salmonllc.html.HtmlPage The page that this popup is part of.




Method Detail
add
public void add(HtmlComponent comp)(Code)
Adds a new html component to the popup
Parameters:
  comp - com.salmonllc.html.HtmlComponent



generateHTML
public void generateHTML(java.io.PrintWriter p, int rowNo) throws Exception(Code)



getCellPadding
public int getCellPadding()(Code)
Returns the cell padding specified by the developer. This is usually the cell padding of a table the popup appears within Creation date: (3/27/01 1:56:08 PM) int The cellpadding specified with setCellPadding.



getComponents
public Enumeration getComponents()(Code)
This method will return a list of all components in the container. Enumeration An enumeration of the components within the popup.



getFixedLocation
public boolean getFixedLocation()(Code)
Returns whether the popup displays in a fixed location. Creation date: (3/27/01 1:56:08 PM) boolean Indicates whether the popup displays in a fixed location or not.



getHideCondition
public String getHideCondition()(Code)
Returns the Javascript condition under which the Popup hides. Creation date: (3/27/01 1:56:08 PM) String The Javascript representing the Condition under which the popup hides.



getHideScript
public String getHideScript()(Code)
Returns the Javascript used after hiding the Popup. Specified by user using setHideScript Creation date: (3/27/01 1:56:08 PM) String The Javascript used after hiding the popup.



getPopupScript
public String getPopupScript()(Code)
Returns the Javascript call to be made in javascript to decide to leaveup/hide popup. Creation date: (3/27/01 11:14:44 AM) java.lang.String The Javascript call used to leaveup/hide the popup.



getPopupShowScript
public String getPopupShowScript()(Code)
Returns the Javascript call to be made in javascript to show popup. Creation date: (3/27/01 11:14:44 AM) java.lang.String The Javascript call used to show the popup.



getVisibleScript
public String getVisibleScript()(Code)
Returns the Javascript used after showing the Popup. Specified by user with setVisibleScript. Creation date: (3/27/01 1:56:08 PM) String The Javascript used to show the popup.



setCellPadding
public void setCellPadding(int iCellPadding)(Code)
Sets the cellpadding used in generating the scripts representing the cell padding of the table containing the popup. Creation date: (3/27/01 1:56:08 PM)
Parameters:
  iCellPadding - The cellpadding of the table containing the popup.



setFixedLocation
public void setFixedLocation(boolean bFixed)(Code)
Sets whether the popup is in a fixed location or not. Creation date: (3/27/01 1:56:08 PM)
Parameters:
  bFixed - boolean Indicates whether the popup is in a fixed location or not.



setHideCondition
public void setHideCondition(String sHideConditon)(Code)
Specifies the javascript condition to use to hide the popup. Creation date: (3/27/01 1:56:08 PM)
Parameters:
  sHideCondition - string The condition used to hide the popup.



setHideScript
public void setHideScript(String sHideScript)(Code)
Specifies the javascript to be executed after hiding the popup. Creation date: (3/27/01 1:56:08 PM)
Parameters:
  sHideCondition - string The javascipt to be executed after hiding popup.



setVisibleScript
public void setVisibleScript(String sVisibleScript)(Code)
Specifies the javascript to be executed after showing the popup. Creation date: (3/27/01 1:56:08 PM)
Parameters:
  sHideCondition - string The javascipt to be executed after showing popup.



Fields inherited from com.salmonllc.html.HtmlContainer
protected boolean _center(Code)(Java Doc)
protected Vector _componentsVec(Code)(Java Doc)
protected boolean _enabled(Code)(Java Doc)
protected HtmlComponent _submit(Code)(Java Doc)

Methods inherited from com.salmonllc.html.HtmlContainer
public void add(HtmlComponent comp)(Code)(Java Doc)
public void clearSubmit()(Code)(Java Doc)
public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowNo) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowStart, int rowEnd) throws Exception(Code)(Java Doc)
public void generateInitialHTML(PrintWriter p) throws Exception(Code)(Java Doc)
public boolean getCenter()(Code)(Java Doc)
public HtmlComponent getComponent(String name)(Code)(Java Doc)
public Enumeration getComponents()(Code)(Java Doc)
public boolean getEnabled()(Code)(Java Doc)
public HtmlComponent getSubmitComponent()(Code)(Java Doc)
public void insertComponentAt(HtmlComponent comp, int index)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
public void remove(HtmlComponent comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public boolean replaceComponent(HtmlComponent comp, Object compToReplace)(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setCenter(boolean center)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from com.salmonllc.html.HtmlComponent
final public static int DISABLED_ATTRIBUTE_USE_NEVER(Code)(Java Doc)
final public static int DISABLED_ATTRIBUTE_USE_ON_SUPPORTED_BROWSERS(Code)(Java Doc)
final public static int DISABLED_ATTRIBUTE_USE_SYSTEM_DEFAULT(Code)(Java Doc)
final public static int EVENT_NONE(Code)(Java Doc)
final public static int EVENT_OTHER(Code)(Java Doc)
final public static int EVENT_SUBMIT(Code)(Java Doc)
protected String _class(Code)(Java Doc)
String _fullName(Code)(Java Doc)
protected boolean _generateNewline(Code)(Java Doc)
String _name(Code)(Java Doc)
protected HtmlComponent _parent(Code)(Java Doc)
protected boolean _visible(Code)(Java Doc)
final protected static boolean debug(Code)(Java Doc)

Methods inherited from com.salmonllc.html.HtmlComponent
public void doBinding() throws Exception(Code)(Java Doc)
public String encodeURL(String url)(Code)(Java Doc)
public StringBuffer encodeURL(StringBuffer url)(Code)(Java Doc)
public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc)
public static String fixSpecialHTMLCharacters(String input)(Code)(Java Doc)
abstract public void generateHTML(PrintWriter p, int rowNo) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowStart, int rowEnd) throws Exception(Code)(Java Doc)
protected String generateImageURL()(Code)(Java Doc)
public void generateInitialHTML(PrintWriter p) throws Exception(Code)(Java Doc)
public String getClassName()(Code)(Java Doc)
public String getDataSource()(Code)(Java Doc)
public int getFormIndex()(Code)(Java Doc)
public String getFormString()(Code)(Java Doc)
public String getFullName()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public HtmlPage getPage()(Code)(Java Doc)
public HtmlComponent getParent()(Code)(Java Doc)
protected String getPortletNameSpace()(Code)(Java Doc)
protected String getSiteMapEntryName(String url)(Code)(Java Doc)
public String getTheme()(Code)(Java Doc)
public int getUseDisabledAttribute()(Code)(Java Doc)
public boolean getVisible()(Code)(Java Doc)
public boolean getVisible(boolean checkParents)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setClassName(String sClass)(Code)(Java Doc)
public void setDataSource(String dataSource)(Code)(Java Doc)
public void setFormIndex(int formIndex)(Code)(Java Doc)
public void setGenerateNewline(boolean enable)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPage(HtmlPage p)(Code)(Java Doc)
public void setParent(HtmlComponent parent)(Code)(Java Doc)
public void setTheme(String theme)(Code)(Java Doc)
public void setUseDisabledAttribute(int i)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String translateSiteMapURL(String url)(Code)(Java Doc)
protected boolean useDisabledAttribute()(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.