Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.objexcel.gui
Class ObjexcelAbstractAction.Rule

    java.lang.Object
      |
      +--com.objexcel.gui.ObjexcelAbstractAction.Rule

public static class ObjexcelAbstractAction.Rule
extends java.lang.Object

Rule allows common logic to be shared accross actions.

Constructor Summary
`ObjexcelAbstractAction.Rule()`

Method Summary
`java.lang.String` | `getText()` will end up in the controls tool tip.
`boolean` | `isEnabled()` override to return if the rule is currently enabled.
`void` | `setEnabled(boolean bEnabled)` set whether the rule is currently enabled
`void` | `setText(java.lang.String text)` set the text that will be displayed if the rule is not enabled.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ObjexcelAbstractAction.Rule

    public ObjexcelAbstractAction.Rule()

Method Detail

### setEnabled

    public void setEnabled(boolean bEnabled)

  set whether the rule is currently enabled

### setText

    public void setText(java.lang.String text)

  set the text that will be displayed if the rule is not enabled.

### getText

    public java.lang.String getText()

  will end up in the controls tool tip. Usually only set for disabled reason.

### isEnabled

    public boolean isEnabled()

  override to return if the rule is currently enabled.

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD