JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.beans
Class TriggerWrapper

java.lang.Object
  |
  +--com.klg.jclass.chart.beans.TriggerWrapper
All Implemented Interfaces:
Serializable

public class TriggerWrapper
extends Object
implements Serializable

Wrapper class for Trigger properties. Used by the MultiChart Bean.

See Also:
Serialized Form

Field Summary
 boolean allow
           
 int alt_action
           
 int ctrl_action
           
 int meta_action
           
 int norm_action
           
 int shift_action
           
 
Constructor Summary
TriggerWrapper()
          Constructor.
TriggerWrapper(String normString, String shiftString, String ctrlString, String altString, String metaString, boolean allowBoolean)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 void setPropertyValues(com.klg.jclass.chart.JCChart chart)
          Sets the trigger properties on the specified chart from values stored internally.
 void setWrapperValues(com.klg.jclass.chart.JCChart chart)
          Stores the trigger properties from the specified chart.
 String toString()
          Converts properties to String for code generation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

norm_action

public int norm_action

shift_action

public int shift_action

ctrl_action

public int ctrl_action

alt_action

public int alt_action

meta_action

public int meta_action

allow

public boolean allow
Constructor Detail

TriggerWrapper

public TriggerWrapper()
Constructor. Allocates space for the arrays and fills them by parsing series Strings of format "(x1 value)(y1 value)(x2 value)(y2 value)".


TriggerWrapper

public TriggerWrapper(String normString,
                      String shiftString,
                      String ctrlString,
                      String altString,
                      String metaString,
                      boolean allowBoolean)
Constructor. Fills members with parameter Strings.

Parameters:
normString - String for normal trigger. Possible values are None, Rotate, Zoom, Translate, Edit, Pick, Depth, or Customize.
shiftString - String for shift trigger. Possible values are None, Rotate, Zoom, Translate, Edit, Pick, Depth, or Customize.
ctrlString - String for ctrl trigger. Possible values are None, Rotate, Zoom, Translate, Edit, Pick, Depth, or Customize.
altString - String for alt trigger. Possible values are None, Rotate, Zoom, Translate, Edit, Pick, Depth, or Customize.
metaString - String for meta trigger. Possible values are None, Rotate, Zoom, Translate, Edit, Pick, Depth, or Customize.
allowBoolean - value for allow customer changes property
Method Detail

setWrapperValues

public void setWrapperValues(com.klg.jclass.chart.JCChart chart)
Stores the trigger properties from the specified chart.

Parameters:
chart - the chart that contains the trigger properties

setPropertyValues

public void setPropertyValues(com.klg.jclass.chart.JCChart chart)
Sets the trigger properties on the specified chart from values stored internally.

Parameters:
chart - the chart that we need to set these trigger values on

toString

public String toString()
Converts properties to String for code generation.

Overrides:
toString in class Object
Returns:
String containing properties for code generation

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Copyright © 2004 Quest Software Inc..
All rights reserved.