org.weda.action.impl
Class ActionStateImpl

java.lang.Object
  extended by org.weda.action.impl.ActionStateImpl
All Implemented Interfaces:
java.io.Serializable, ActionState

public class ActionStateImpl
extends java.lang.Object
implements ActionState, java.io.Serializable

Author:
tim
See Also:
Serialized Form

Constructor Summary
ActionStateImpl(boolean available, boolean enabled)
           
 
Method Summary
 ActionDescriptor getActionDescriptor()
          Возвращает объект хранящий статическую информацию о действии.
 java.util.Map<java.lang.String,java.lang.Object> getParameterValues()
          Метод возвращает значения параметров действия.
 java.lang.String getTargetFrame()
          Метод возвращает имя фрейма в котором будет отображен результат действия.
 boolean isAvailable()
          Возвращает true если действие доступно.
 boolean isEnabled()
          Возвращет true если данным действием можно пользоваться.
 void setActionDescriptor(ActionDescriptor actionDescriptor)
          Метод задает статическую информацию о действии.
 void setAvailable(boolean available)
           
 void setEnabled(boolean enabled)
           
 void setParameterValue(java.lang.String parameterName, java.lang.Object value)
          Метод задает значение параметра.
 void setTargetFrame(java.lang.String targetFrame)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionStateImpl

public ActionStateImpl(boolean available,
                       boolean enabled)
Method Detail

isEnabled

public boolean isEnabled()
Description copied from interface: ActionState
Возвращет true если данным действием можно пользоваться.

Specified by:
isEnabled in interface ActionState

setEnabled

public void setEnabled(boolean enabled)

isAvailable

public boolean isAvailable()
Description copied from interface: ActionState
Возвращает true если действие доступно.

Specified by:
isAvailable in interface ActionState

setAvailable

public void setAvailable(boolean available)

getActionDescriptor

public ActionDescriptor getActionDescriptor()
Description copied from interface: ActionState
Возвращает объект хранящий статическую информацию о действии.

Specified by:
getActionDescriptor in interface ActionState

setActionDescriptor

public void setActionDescriptor(ActionDescriptor actionDescriptor)
Description copied from interface: ActionState
Метод задает статическую информацию о действии.

Specified by:
setActionDescriptor in interface ActionState

setParameterValue

public void setParameterValue(java.lang.String parameterName,
                              java.lang.Object value)
Description copied from interface: ActionState
Метод задает значение параметра.

Specified by:
setParameterValue in interface ActionState

getParameterValues

public java.util.Map<java.lang.String,java.lang.Object> getParameterValues()
Description copied from interface: ActionState
Метод возвращает значения параметров действия.

Specified by:
getParameterValues in interface ActionState

getTargetFrame

public java.lang.String getTargetFrame()
Description copied from interface: ActionState
Метод возвращает имя фрейма в котором будет отображен результат действия.

Specified by:
getTargetFrame in interface ActionState

setTargetFrame

public void setTargetFrame(java.lang.String targetFrame)
Specified by:
setTargetFrame in interface ActionState
See Also:
ActionState.getTargetFrame()


Copyright © 2005-2006 . All Rights Reserved.