Telecommunications mjbNetwork


This program is under construction and is not yet functional.

 


2. Bugs & enhancemants

make class files lower case 8.x format

implement align, group

Ability to resize objects

bug in autoroute adds north and south

make input/s_decode more resilient

replace util with m_dialog


3. Class Definitions


3.1. Sprite

Sprite - constructors

GetImage

SetImage

     

GetFrameInc

SetFrameInc

     

GetFrame

IncFrame

     

GetPosition

SetPosition

     

GetCollision

SetCollision

     

GetZOrder

SetZOrder

     

GetVelocity

SetVelocity

     

GetBounds

SetBounds

     

Show

Hide

     

IsPointInside

       

Update

Draw

AddSprite

TestCollision

Collision

3.2. DirectionalSprite

Extends Sprite class to provide a directional Sprite. ie image changes with direction

DirectionalSprite - constructors

GetDirection

SetDirection

     
 

SetVelocity

     

3.3. Packet

Packet - constructors

InitResources - called once when program started

Update

 

AddSprite

   

3.4. Node

Node - constructors

InitResources - called once when program started

Update

 

AddSprite

   

3.5. group

Computer - constructors

InitResources - called once when program started

Update

 

AddSprite

   

3.6. SpriteVector

SpriteVector - constructors

       

GetBackground

SetBackground

     

GetEmptyPosition

     

IsPointInside

     

Update

Draw

Add

TestCollision

Collision - swaps velocities

3.7. NetworkVector

NetworkVector - constructors

       
   

Add - limits number of sprites

 

Collision -


4. Source Code

4.1. BakerViz Java


4.2. surface.java


4.3. control.java


4.4. selector.java


4.5. global_p.java


4.6. diag_p.java


4.7. Packet.java


4.8. node.java


4.9. node_p.java


4.10. group Java


4.11. Link Java


4.12. Link_p.java


4.13. Linkv.java


4.14. text.java


4.15. text_p.java


4.16. DirectionalSprite Java


4.17. Sprite Java


4.18. NetworkVector Java


4.19. SpriteVector Java


4.20. Background Java


4.21. s_decode Java


4.22. Util Java


5. Sample output

5.1. t1.txt

 

 


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover The Essential Guide to Telecommunications (Essential Guide).

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to the software project, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

 

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2015 Martin John Baker - All rights reserved - privacy policy.