Java Doc for XQuestionView.java in  » XML-UI » xui32 » com » xoetrope » carousel » survey » 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 » xui32 » com.xoetrope.carousel.survey 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.xoetrope.carousel.survey.XSurveyComponentSmall
   com.xoetrope.carousel.survey.XQuestionView

XQuestionView
public class XQuestionView extends XSurveyComponentSmall (Code)
A view of the question in graphic editor.

Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Xoetrope.

$Revision: 1.5 $



Field Summary
public static  intARC
    
public static  ColorBACKGROUND_COLOR
    
public static  ColorBORDER_COLOR
    
public static  intFIELD_GAP
    
public static  ColorFONT_COLOR
    
public static  StringFONT_NAME
    
public static  intFONT_SIZE
    
public static  intFONT_STYLE
    
public static  intHEIGHT
    
final protected static  intID_FIELD
    
public static  intID_WIDTH
    
public static  intLEFT_GAP
    
final protected static  intNAME_FIELD
    
public static  intRIGHT_GAP
    
public static  intTEXT_GAP
    
final protected static  intTYPE_FIELD
    
public static  intTYPE_WIDTH
    
public static  intWIDTH
    
protected  intarcidWidthtypeWidthfieldGaptextGap
    
protected  StringfontName
    
protected  XConditionViewnewConditionView
    
protected  Questionquestion
    

Constructor Summary
public  XQuestionView(Question q, XRulesEditorPane ep, XGroupView gv)
    
public  XQuestionView(XRulesEditorPane ep)
    

Method Summary
protected  voidcreatePopupMenu()
    
protected  voidcreateShape()
    
protected  voiddrag(MouseEvent e)
    
protected  voidendDragging(MouseEvent e)
    
public  intgetArc()
    
protected  intgetClickedRegion(MouseEvent e)
    
public  intgetFieldGap()
    
public  intgetIdWidth()
    
public  intgetNameWidth()
    
public  ClassgetOwnerClass()
    
public  QuestiongetQuestion()
    
public  intgetTextGap()
    
public  intgetTypeWidth()
    
protected  voidinitVariables()
    
public  voidmouseClicked(MouseEvent e)
    
public  voidpaint(Graphics g)
    
public  voidpaintQuestion(Graphics2D g)
    
public  voidsetArc(int a)
    
public  voidsetFieldGap(int fg)
    
public  voidsetIdWidth(int iw)
    
public  voidsetTextGap(int tg)
    
public  voidsetTypeWidth(int tw)
    
protected  voidstartDragging(MouseEvent e)
    
protected  voidupdateModel(XSurveyComponentBig oldOwner, XSurveyComponentBig newOwner)
    

Field Detail
ARC
public static int ARC(Code)



BACKGROUND_COLOR
public static Color BACKGROUND_COLOR(Code)



BORDER_COLOR
public static Color BORDER_COLOR(Code)



FIELD_GAP
public static int FIELD_GAP(Code)



FONT_COLOR
public static Color FONT_COLOR(Code)



FONT_NAME
public static String FONT_NAME(Code)



FONT_SIZE
public static int FONT_SIZE(Code)



FONT_STYLE
public static int FONT_STYLE(Code)



HEIGHT
public static int HEIGHT(Code)



ID_FIELD
final protected static int ID_FIELD(Code)



ID_WIDTH
public static int ID_WIDTH(Code)



LEFT_GAP
public static int LEFT_GAP(Code)



NAME_FIELD
final protected static int NAME_FIELD(Code)



RIGHT_GAP
public static int RIGHT_GAP(Code)



TEXT_GAP
public static int TEXT_GAP(Code)



TYPE_FIELD
final protected static int TYPE_FIELD(Code)



TYPE_WIDTH
public static int TYPE_WIDTH(Code)



WIDTH
public static int WIDTH(Code)



arcidWidthtypeWidthfieldGaptextGap
protected int arcidWidthtypeWidthfieldGaptextGap(Code)



fontName
protected String fontName(Code)



newConditionView
protected XConditionView newConditionView(Code)



question
protected Question question(Code)




Constructor Detail
XQuestionView
public XQuestionView(Question q, XRulesEditorPane ep, XGroupView gv)(Code)



XQuestionView
public XQuestionView(XRulesEditorPane ep)(Code)




Method Detail
createPopupMenu
protected void createPopupMenu()(Code)



createShape
protected void createShape()(Code)



drag
protected void drag(MouseEvent e)(Code)



endDragging
protected void endDragging(MouseEvent e)(Code)



getArc
public int getArc()(Code)



getClickedRegion
protected int getClickedRegion(MouseEvent e)(Code)



getFieldGap
public int getFieldGap()(Code)



getIdWidth
public int getIdWidth()(Code)



getNameWidth
public int getNameWidth()(Code)



getOwnerClass
public Class getOwnerClass()(Code)



getQuestion
public Question getQuestion()(Code)



getTextGap
public int getTextGap()(Code)



getTypeWidth
public int getTypeWidth()(Code)



initVariables
protected void initVariables()(Code)



mouseClicked
public void mouseClicked(MouseEvent e)(Code)



paint
public void paint(Graphics g)(Code)



paintQuestion
public void paintQuestion(Graphics2D g)(Code)



setArc
public void setArc(int a)(Code)



setFieldGap
public void setFieldGap(int fg)(Code)



setIdWidth
public void setIdWidth(int iw)(Code)



setTextGap
public void setTextGap(int tg)(Code)



setTypeWidth
public void setTypeWidth(int tw)(Code)



startDragging
protected void startDragging(MouseEvent e)(Code)



updateModel
protected void updateModel(XSurveyComponentBig oldOwner, XSurveyComponentBig newOwner)(Code)



Fields inherited from com.xoetrope.carousel.survey.XSurveyComponentSmall
public Color BACKGROUND_COLOR(Code)(Java Doc)
public Color BORDER_COLOR(Code)(Java Doc)
public static int BOTTOM_GAP(Code)(Java Doc)
public static Color FONT_COLOR(Code)(Java Doc)
public static String FONT_NAME(Code)(Java Doc)
public static int FONT_SIZE(Code)(Java Doc)
public static int FONT_STYLE(Code)(Java Doc)
public static int HEIGHT(Code)(Java Doc)
public static int LEFT_GAP(Code)(Java Doc)
public static int RIGHT_GAP(Code)(Java Doc)
public Color SELECTED_COLOR(Code)(Java Doc)
public static int TOP_GAP(Code)(Java Doc)
public static int WIDTH(Code)(Java Doc)
protected Color backgroundColorborderColorselectedColor(Code)(Java Doc)
protected XSurveyEditorFrame editorFrame(Code)(Java Doc)
protected XRulesEditorPane editorPane(Code)(Java Doc)
protected MouseEvent firstMouseEvent(Code)(Java Doc)
protected Font font(Code)(Java Doc)
protected Color fontColor(Code)(Java Doc)
protected String fontName(Code)(Java Doc)
protected int fontStylefontSize(Code)(Java Doc)
protected boolean isDragged(Code)(Java Doc)
protected boolean isSelected(Code)(Java Doc)
protected int leftGaprightGaptopGapbottomGap(Code)(Java Doc)
protected XSurveyComponentBig owner(Code)(Java Doc)
protected JPopupMenu popupMenu(Code)(Java Doc)
protected int posXposY(Code)(Java Doc)
protected XSurveyComponentBig prevOwner(Code)(Java Doc)
protected int prevPosition(Code)(Java Doc)
protected Observer selectionObserver(Code)(Java Doc)
protected Shape shape(Code)(Java Doc)
protected int widthheight(Code)(Java Doc)

Methods inherited from com.xoetrope.carousel.survey.XSurveyComponentSmall
public boolean contains(int x, int y)(Code)(Java Doc)
abstract protected void createPopupMenu()(Code)(Java Doc)
abstract protected void createShape()(Code)(Java Doc)
protected void drag(MouseEvent e)(Code)(Java Doc)
protected boolean draggingAllowed(XSurveyComponentBig view)(Code)(Java Doc)
protected void endDragging(MouseEvent e)(Code)(Java Doc)
public Color getBackgroundColor()(Code)(Java Doc)
public Color getBorderColor()(Code)(Java Doc)
public int getBottomGap()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public Color getFontColor()(Code)(Java Doc)
public String getFontName()(Code)(Java Doc)
public int getFontSize()(Code)(Java Doc)
public int getFontStyle()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public int getLeftGap()(Code)(Java Doc)
abstract protected Class getOwnerClass()(Code)(Java Doc)
public int getPosX()(Code)(Java Doc)
public int getPosY()(Code)(Java Doc)
public int getRightGap()(Code)(Java Doc)
protected double getScale()(Code)(Java Doc)
public Color getSelectedColor()(Code)(Java Doc)
public int getTopGap()(Code)(Java Doc)
public String getTruncatedText(String desc, int width, Graphics2D g, Font font)(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
protected void initVariables()(Code)(Java Doc)
public boolean isDragged()(Code)(Java Doc)
public boolean isSelected()(Code)(Java Doc)
public void isSelected(boolean state)(Code)(Java Doc)
public void mouseClicked(MouseEvent e)(Code)(Java Doc)
public void mouseDragged(MouseEvent e)(Code)(Java Doc)
public void mouseEntered(MouseEvent e)(Code)(Java Doc)
public void mouseExited(MouseEvent e)(Code)(Java Doc)
public void mouseMoved(MouseEvent e)(Code)(Java Doc)
public void mousePressed(MouseEvent e)(Code)(Java Doc)
public void mouseReleased(MouseEvent e)(Code)(Java Doc)
public void moveToFront()(Code)(Java Doc)
public void paintShape(Graphics2D g)(Code)(Java Doc)
public void refresh()(Code)(Java Doc)
public void remove()(Code)(Java Doc)
public void setBackgroundColor(Color bc)(Code)(Java Doc)
public void setBorderColor(Color bc)(Code)(Java Doc)
public void setBottomGap(int bg)(Code)(Java Doc)
public void setFirstMouseEvent(MouseEvent e)(Code)(Java Doc)
public void setFontColor(Color fc)(Code)(Java Doc)
public void setFontName(String fn)(Code)(Java Doc)
public void setFontSize(int fs)(Code)(Java Doc)
public void setFontStyle(int fs)(Code)(Java Doc)
public void setHeight(int h)(Code)(Java Doc)
public void setLeftGap(int lg)(Code)(Java Doc)
protected void setLocation()(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setPosX(int px)(Code)(Java Doc)
public void setPosY(int py)(Code)(Java Doc)
public void setRightGap(int rg)(Code)(Java Doc)
protected void setSize()(Code)(Java Doc)
public void setTopGap(int tg)(Code)(Java Doc)
public void setWidth(int w)(Code)(Java Doc)
protected void showPopupMenu(Point p)(Code)(Java Doc)
protected void startDragging(MouseEvent e)(Code)(Java Doc)
abstract protected void updateModel(XSurveyComponentBig oldOwner, XSurveyComponentBig newOwner)(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.