Index Topic Contents | |||
Previous Topic: Cycler Class Next Topic: DXMApplet Class |
DashStyleBvr Class
public class DashStyleBvr extends Behavior { // Methods public static DashStyleBvr newUninitBvr(); }Creates an object that represents a dashstyle behavior. The behavior defines whether lines are drawn using a continuous stroke or a sequence of dashes.
Use the dashstyle behavior with the dash method of the LineStyleBvr object.
For more information about Behaviors see the Behavior class.
DashStyleBvr Methods
DashStyleBvr Class
newUninitBvr();This method allows you to refer to a dash-style behavior before that behavior has been defined. With this method you can create the behavior and use it in the definition of other behaviors, but not actually define its contents until some later point. (This is accomplished with the init method, which is available on all behaviors.) The system generates a run-time error if you initialize a non-uninitialized behavior, initialize an uninitialized behavior that has already been initialized, or run an initialized behavior that has not yet been initialized.
public static DashStyleBvr newUninitBvr( );
Return Values
Returns the DashStyleBvr object.
Relevant Fields from the Statics Class
The following fields are defined in the Statics class and are most relevant to objects of type DashStyleBvr.
public final static DashStyleBvr dashStyleDashed;
public final static DashStyleBvr dashStyleSolid;
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.