source: java/main/src/main/java/com/framsticks/model/f0/VisualHints.java @ 88

Last change on this file since 88 was 88, checked in by psniegowski, 11 years ago

HIGHLIGHTS:

  • loading f0 schema with XmlLoader?
  • use XmlLoader? to load configuration
  • introduce unified fork-join model of various entities

(Instances, Connections, GUI Frames, etc.),
all those entities clean up gracefully on
shutdown, which may be initialized by user
or by some entity

  • basing on above, simplify several organizing classes

(Observer, main class)

(to host native frams server process from Java level)

CHANGELOG:
Remove redundant Observer class.

Clean up in AbstractJoinable?.

Update ExternalProcess? class to changes in joining model.

Another sweep through code with FindBugs?.

Find bug with not joining RemoteInstance?.

Joining almost works.

Much improved joining model.

More improvement to joining model.

Add logging messages around joinable operations.

Rename methods in AbstractJoinable?.

Improve Joinable.

Rewrite of entity structure.

More simplifications with entities.

Further improve joinables.

Let Frame compose from JFrame instead of inheriting.

Add join classes.

Improvements of closing.

Add Builder interface.

Add FramsServerTest?.xml

FramsServer? may be configured through xml.

Make Framsticks main class an Observer of Entities.

Make Observer a generic type.

Remove variables regarding to removed endpoint.

Simplify observer (remove endpoints).

More changes to Observer and Endpoint.

Minor improvements.

Add OutputListener? to ExternalProcess?.

Improve testing of ExternalProcess?.

Add ExternalProcess? runner.

Rename the Program class to Framsticks.

Migrate Program to use XmlLoader? configuration.

First steps with configuration using XmlLoader?.

Fix several bugs.

Move all f0 classes to apriopriate package.

XmlLoader? is able to load Schema.

XmlLoader? is loading classes and props.

Add GroupBuilder?.

File size: 860 bytes
Line 
1package com.framsticks.model.f0;
2
3/**
4 * The Class with VisualHints constants.
5 */
6public final class VisualHints {
7
8        /** don't draw class name label below the neuron. */
9        public static final int DONT_SHOW_CLASS = 2;
10       
11        /** draw the neuron at the first part when attached to joint (default is in the middle). */
12        public static final int AT_FIRST_PART = 4;
13       
14        /** draw the neuron at the second part when attached to joint (default is in the middle). */
15        public static final int AT_SECOND_PART = 8;
16       
17        /** use effector color for this neuro unit. */
18        public static final int EFFECTOR_CLASS = 16;
19       
20        /** use receptor color for this neuro unit. */
21        public static final int RECEPTOR_CLASS = 32;
22       
23        /** The Constant V1_BEND_MUSCLE. */
24        public static final int V1_BEND_MUSCLE = 64;
25       
26        /** The Constant V1_ROT_MUSCLE. */
27        public static final int V1_ROT_MUSCLE = 128;
28}
Note: See TracBrowser for help on using the repository browser.