public class ChangeFieldAction extends Action implements ActiveLinkAction, Cloneable, Serializable
ChangeFieldAction
class is used to change display characteristics of fields.Constructor and Description |
---|
ChangeFieldAction()
constructor
|
ChangeFieldAction(int option,
int fieldId,
String charMenu,
DisplayPropertyMap props,
int focus,
int accessOption) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
int |
getAccessOption()
Returns field access, whether Enabled or Disabled.
|
String |
getCharMenu()
Returns whether menu is attached to field or not.
|
int |
getFieldId()
Returns field ID.
|
int |
getFocus()
Returns whether focus is set to field or not.
|
int |
getOption()
Returns option which is a bitmask.
|
DisplayPropertyMap |
getProps()
Returns display properties of field, whether Hidden or Visible.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setAccessOption(int accessOption)
Sets field access, whether Enabled or Disabled.
|
void |
setCharMenu(String charMenu)
Sets whether menu is attached to field or not.
|
void |
setFieldId(int fieldId)
Sets field ID.
|
void |
setFocus(int focus)
Sets whether focus is set to field or not.
|
void |
setOption(int option)
Sets the option which is a bitmask.
|
void |
setProps(DisplayPropertyMap props)
Sets display properties of field, whether Hidden or Visible.
|
String |
toString()
Returns a string description of the object.
|
equals, getActionType
public ChangeFieldAction()
public ChangeFieldAction(int option, int fieldId, String charMenu, DisplayPropertyMap props, int focus, int accessOption)
public int getOption()
Constants.AR_FIELD_CHAR_OPTION_REFERENCE
public void setOption(int option)
Constants.AR_FIELD_CHAR_OPTION_REFERENCE
public int getFieldId()
public void setFieldId(int fieldId)
public String getCharMenu()
public void setCharMenu(String charMenu)
public DisplayPropertyMap getProps()
public void setProps(DisplayPropertyMap props)
public int getFocus()
public void setFocus(int focus)
public int getAccessOption()
public void setAccessOption(int accessOption)
public Object clone() throws CloneNotSupportedException
clone
in class Action
CloneNotSupportedException
public boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.