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

## com.tonbeller.wcf.toolbar
Class ScriptButtonModel

    java.lang.Object
      com.tonbeller.wcf.toolbar.ScriptButtonModel

All Implemented Interfaces:
  ToolButtonModel

public class ScriptButtonModel
extends java.lang.Object
implements ToolButtonModel

Toolbar button associated with a property of a session bean. The property is addressed via a script string.

Author:
  av

Constructor Summary
`ScriptButtonModel(java.lang.String modelReference)` Constructor for ScriptModel.

Method Summary
`boolean` | `isPressed(RequestContext context)`
`void` | `setPressed(RequestContext context, boolean value)`

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

Constructor Detail

### ScriptButtonModel

    public ScriptButtonModel(java.lang.String modelReference)

  Constructor for ScriptModel.

Method Detail

### isPressed

    public boolean isPressed(RequestContext context)

  Specified by:
    `isPressed` in interface `ToolButtonModel`
  See Also:
    `ToolButtonModel.isPressed(RequestContext)`

### setPressed

    public void setPressed(RequestContext context,
                           boolean value)

  Specified by:
    `setPressed` in interface `ToolButtonModel`
  See Also:
    `ToolButtonModel.setPressed(RequestContext, boolean)`

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