轻量级UML工具-UMLet
2014-12-13 15:57
288 查看
免费、开源,而且灰常好用的工具,这里就当加一个备注。免得忘了
如何在UMLet中表示static和final?
UMLet中表示static用下划线(对于method、function或者operation也用下划线代表static),个人感觉可以用斜体来表示final(对于method、function或者operation斜体代表abstract),如图
代码如下:
再如图:
代码:
UML类图中可见性(参考这里):
public: +
protected: #
private: -
package: ~
类图中,如果function的返回值为void怎么处理?
不要画为function(): void,直接画为function()即可
如何在UMLet中表示static和final?
UMLet中表示static用下划线(对于method、function或者operation也用下划线代表static),个人感觉可以用斜体来表示final(对于method、function或者operation斜体代表abstract),如图
代码如下:
rball::BulletGenerator -- -bullet: Sphere -bulletSize: float -bulletCollisionShape: SphereCollisionShape // 用下划线表示static,用斜体表示final /_-DEFAULT_initSpeeds: float[]_/ -initSpeed: float -initSpeedIndex: int -cam: Camera -mat: Material -rootNode: Node -bulletAppState: BulletAppState -- +BulletGenerator( cam: Camera mat: Material rootNode: Node bulletAppState: BulletAppState): BulletGenerator -- ~getInitSpeed(): float ~nextInitSpeed(): void ~previousInitSpeed(): void ~launchBullet(): void -getPhysicsSpace(): PhysicsSpace
再如图:
代码:
/SimpleApplication/ -- /+simpleInitApp(): void/ +simpleUpdate(tpf: float): void +simpleRender(rm: RenderManager): void
rball::GameMain -- ~bulletGenerator: BulletGenerator ~matBullet: Material -bulletSpeedText: BitmapText ~bulletSpeedTextListener BulletSpeedTextListener ~positionBallGenerator: BallGenerator ~randomBallGenerator: BallGenerator ~terrain: TerrainQuad ~matRock: Material ~matWire: Material ~wireframe: boolean #hintText: BitmapText -bulletAppState: BulletAppState -- _+main(args: String[])_ +setupKeys() +simpleInitApp() +simpleUpdate(tpf: float) -initCrossHairs() -loadHintText() -loadBulletSpeedText() -getWorldIntersection(): Vector3f -isInRadius(x: float, y: float, radius: float): boolean -calculateHeight(radius: float, heightFactor: float, x: float, z: float): float -adjustHeight(loc: Vector3f, radius: float, height: float)
UML类图中可见性(参考这里):
public: +
protected: #
private: -
package: ~
类图中,如果function的返回值为void怎么处理?
不要画为function(): void,直接画为function()即可
相关文章推荐
- UML建模工具UMLet概述
- UML 工具 UMLet 试用
- UML 工具 UMLet 试用
- 开源UML建模工具:UMLet
- uml制图工具比较: graphviz, umlet, visio
- (转)轻量级 UML 建模工具JUDE 介绍(二)
- (转)轻量级 UML 建模工具JUDE 介绍(一)
- (转)轻量级 UML 建模工具JUDE 介绍(三)
- java(eclipse)UML工具 umlet
- 小巧的UML工具-UMLet
- 运维自动化轻量级工具pssh
- Linux下的uml工具
- staruml 开源uml建模工具
- StarUML---推荐一款UML工具(很好很强大)(转载)
- Chart.js 轻量级HTML5图表绘制工具库(知识整理)
- UML建模三个工具: StarUML ,Telelogic TAU 和 Rose
- UML工具推荐 Poseidon版本 可以免费下载,自动生成代码 C++ Java C# VB.NET等 (来自德国汉堡的国际性建模软件开发商Gentleware AG的)
- 【转】Java 项目UML反向工程转化工具
- Java 项目UML反向工程转化工具