org.exoplatform.gwtframework.ui.client.command
Class SimpleControl

java.lang.Object
  extended by org.exoplatform.gwtframework.ui.client.command.Control<SimpleControl>
      extended by org.exoplatform.gwtframework.ui.client.command.SimpleControl

public class SimpleControl
extends Control<SimpleControl>

Created by The eXo Platform SAS .

Version:
$
Author:
Vitaliy Gulyy

Constructor Summary
SimpleControl(java.lang.String id)
           
 
Method Summary
 boolean canBeSelected()
           
 com.google.gwt.event.shared.GwtEvent<?> getEvent()
           
 java.lang.String getGroupName()
          Returns group name
 java.lang.String getHotKey()
           
 java.lang.String getTitle()
           
 boolean isIgnoreDisable()
           
 boolean isSelected()
           
 boolean isShowInContextMenu()
           
 boolean isShowInMenu()
           
 SimpleControl setCanBeSelected(boolean canBeSelected)
           
 SimpleControl setEvent(com.google.gwt.event.shared.GwtEvent<?> event)
           
 SimpleControl setGroupName(java.lang.String groupName)
          Sets new group name
 SimpleControl setHotKey(java.lang.String hotKey)
           
 SimpleControl setIgnoreDisable(boolean ignoreDisable)
           
 SimpleControl setSelected(boolean selected)
           
 SimpleControl setShowInContextMenu(boolean showInContextMenu)
           
 SimpleControl setShowInMenu(boolean showInMenu)
           
 SimpleControl setTitle(java.lang.String title)
           
 
Methods inherited from class org.exoplatform.gwtframework.ui.client.command.Control
disable, enable, getDisabledImage, getIcon, getId, getNormalImage, getPrompt, getStateListeners, hasDelimiterBefore, hide, isEnabled, isVisible, setDelimiterBefore, setDisabledImage, setEnabled, setIcon, setImages, setNormalImage, setPrompt, setVisible, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleControl

public SimpleControl(java.lang.String id)
Method Detail

getTitle

public java.lang.String getTitle()

setTitle

public SimpleControl setTitle(java.lang.String title)

isShowInMenu

public boolean isShowInMenu()

setShowInMenu

public SimpleControl setShowInMenu(boolean showInMenu)

isShowInContextMenu

public boolean isShowInContextMenu()

setShowInContextMenu

public SimpleControl setShowInContextMenu(boolean showInContextMenu)

isIgnoreDisable

public boolean isIgnoreDisable()

setIgnoreDisable

public SimpleControl setIgnoreDisable(boolean ignoreDisable)

getEvent

public com.google.gwt.event.shared.GwtEvent<?> getEvent()

setEvent

public SimpleControl setEvent(com.google.gwt.event.shared.GwtEvent<?> event)

getHotKey

public java.lang.String getHotKey()

setHotKey

public SimpleControl setHotKey(java.lang.String hotKey)

canBeSelected

public boolean canBeSelected()

setCanBeSelected

public SimpleControl setCanBeSelected(boolean canBeSelected)

isSelected

public boolean isSelected()

setSelected

public SimpleControl setSelected(boolean selected)

getGroupName

public java.lang.String getGroupName()
Returns group name

Returns:
group name

setGroupName

public SimpleControl setGroupName(java.lang.String groupName)
Sets new group name

Parameters:
groupName - new group name


Copyright © 2013 eXo Platform SAS. All Rights Reserved.