Java Doc for UMLLine.java in  » UML » jrefactory » org » acm » seguin » uml » 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 » UML » jrefactory » org.acm.seguin.uml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.acm.seguin.uml.line.EndPointPanel
   org.acm.seguin.uml.UMLLine

All known Subclasses:   org.acm.seguin.uml.UMLNestedType,  org.acm.seguin.uml.UMLMethod,  org.acm.seguin.uml.UMLField,
UMLLine
public class UMLLine extends EndPointPanel (Code)
Displays a single UML line
author:
   Chris Seguin


Field Summary
final public static  intDEFAULT
    
final public static  intPRIVATE
    
final public static  intPROTECTED
    
final public static  intPROTECTED_PRIVATE
    
final public static  intPUBLIC
    
protected static  FontabstractFont
    
protected static  FontabstractTitleFont
    
protected static  FontdefaultFont
    
protected  inthigh
    
protected  UMLIconicon
    
final protected static  inticonMargin
    
protected  SizableLabellabel
    
final protected static  intlabelMargin
    
protected static  Color[]protectionColors
    
protected static  FontstaticFont
    
protected static  FonttitleFont
    
protected  intwide
    

Constructor Summary
public  UMLLine(UMLType parent, DragPanelAdapter adapter)
    

Method Summary
public  voidaddMouseListener(MouseListener listener)
    
public  voidaddMouseMotionListener(MouseMotionListener listener)
    
protected  voiddrawIcon(Graphics g, int x, int y)
    
protected  ColorgetDefaultBackground()
    
public  DimensiongetMinimumSize()
    
public  UMLTypegetParentType()
    
public  DimensiongetPreferredSize()
    
protected static  intgetProtectionCode(ModifierHolder modifiers)
    
protected static  ColorgetProtectionColor(int level)
    
protected static  FontgetProtectionFont(boolean title, ModifierHolder modifiers)
    
public  booleanisSelected()
    
public  voidpaint(Graphics g)
    
public  voidprint(Graphics g, int x, int y)
    
public  voidremoveMouseListener(MouseListener listener)
    
public  voidremoveMouseMotionListener(MouseMotionListener listener)
    
public  voidscale(double value)
    
public  voidsetLabelFont(Font font)
    
public  voidsetLabelText(String msg)
    
public  voidsetProtection(int code)
    
public  voidsetSelected(boolean value)
    

Field Detail
DEFAULT
final public static int DEFAULT(Code)
Description of the Field



PRIVATE
final public static int PRIVATE(Code)
Description of the Field



PROTECTED
final public static int PROTECTED(Code)
Description of the Field



PROTECTED_PRIVATE
final public static int PROTECTED_PRIVATE(Code)
Description of the Field



PUBLIC
final public static int PUBLIC(Code)
Description of the Field



abstractFont
protected static Font abstractFont(Code)
Description of the Field



abstractTitleFont
protected static Font abstractTitleFont(Code)
Description of the Field



defaultFont
protected static Font defaultFont(Code)
Description of the Field



high
protected int high(Code)
Description of the Field



icon
protected UMLIcon icon(Code)
Stores the icon for this object



iconMargin
final protected static int iconMargin(Code)
Description of the Field



label
protected SizableLabel label(Code)
Description of the Field



labelMargin
final protected static int labelMargin(Code)
Description of the Field



protectionColors
protected static Color[] protectionColors(Code)
Description of the Field



staticFont
protected static Font staticFont(Code)
Description of the Field



titleFont
protected static Font titleFont(Code)
Description of the Field



wide
protected int wide(Code)
Description of the Field




Constructor Detail
UMLLine
public UMLLine(UMLType parent, DragPanelAdapter adapter)(Code)
Create a new instance of a UMLLine
Parameters:
  parent - Description of Parameter
Parameters:
  adapter - Description of Parameter




Method Detail
addMouseListener
public void addMouseListener(MouseListener listener)(Code)
Add a mouse listener
Parameters:
  listener - the new listener



addMouseMotionListener
public void addMouseMotionListener(MouseMotionListener listener)(Code)
Add a mouse listener
Parameters:
  listener - the new listener



drawIcon
protected void drawIcon(Graphics g, int x, int y)(Code)
Draws the icon
Parameters:
  g - the graphics object
Parameters:
  x - Description of Parameter
Parameters:
  y - Description of Parameter



getDefaultBackground
protected Color getDefaultBackground()(Code)
Return the default background color the color



getMinimumSize
public Dimension getMinimumSize()(Code)
Returns the minimum size The size



getParentType
public UMLType getParentType()(Code)
Gets the ParentType attribute of the UMLLine object The ParentType value



getPreferredSize
public Dimension getPreferredSize()(Code)
Returns the preferred size The size



getProtectionCode
protected static int getProtectionCode(ModifierHolder modifiers)(Code)
Add the protection information for this field or method
Parameters:
  modifiers - the modifier information Description of the Returned Value



getProtectionColor
protected static Color getProtectionColor(int level)(Code)
Get the color associated with a level of protection
Parameters:
  level - the level that we need to know the color



getProtectionFont
protected static Font getProtectionFont(boolean title, ModifierHolder modifiers)(Code)
Get the font appropriate for the level of protection
Parameters:
  title - is this a title
Parameters:
  modifiers - the modifiers Description of the Returned Value



isSelected
public boolean isSelected()(Code)
Gets the Selected attribute of the UMLLine object The Selected value



paint
public void paint(Graphics g)(Code)
Paint this object
Parameters:
  g - the graphics object



print
public void print(Graphics g, int x, int y)(Code)
Print this object
Parameters:
  g - the graphics object
Parameters:
  x - the x coordinate
Parameters:
  y - the y coordinate



removeMouseListener
public void removeMouseListener(MouseListener listener)(Code)
Remove a mouse listener
Parameters:
  listener - the new listener



removeMouseMotionListener
public void removeMouseMotionListener(MouseMotionListener listener)(Code)
Remove a mouse listener
Parameters:
  listener - the new listener



scale
public void scale(double value)(Code)
Sets the scaling factor
Parameters:
  value - scaling factor



setLabelFont
public void setLabelFont(Font font)(Code)
Set the font
Parameters:
  font - the new font



setLabelText
public void setLabelText(String msg)(Code)
Set the text
Parameters:
  msg - the message



setProtection
public void setProtection(int code)(Code)
Set the protection code
Parameters:
  code - the code



setSelected
public void setSelected(boolean value)(Code)
Sets the Selected attribute of the UMLLine object
Parameters:
  value - The new Selected value



Methods inherited from org.acm.seguin.uml.line.EndPointPanel
abstract public boolean isSelected()(Code)(Java Doc)
abstract public void setSelected(boolean value)(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.