rs.sol.soloist.server.guiconfiguration.construction
Class GUIFactory

java.lang.Object
  extended by rs.sol.soloist.server.guiconfiguration.construction.GUIFactory

Deprecated. Not for public use.

@Deprecated
public class GUIFactory
extends java.lang.Object


Nested Class Summary
static interface GUIFactory.IComponentVisitor<T extends GUIComponent>
          Deprecated.  
 
Field Summary
static java.lang.String FILE_BUTTONS_CONTAINER
          Deprecated.  
static org.apache.log4j.Logger logger
          Deprecated.  
static java.lang.String REMOVE_BUTTON
          Deprecated.  
static java.lang.String UPLOAD_BUTTON
          Deprecated.  
 
Constructor Summary
GUIFactory()
          Deprecated.  
 
Method Summary
static void connectCommandComponents(ISlot pin, GUIContainerComponent container, java.lang.Class<? extends rs.sol.soloist.server.builtindomains.commands.Command> commandType, IProperty property)
          Deprecated.  
static
<T extends GUIComponent>
void
connectComponents(ISlot pin, GUIContainerComponent container, java.lang.Class<T> type, IProperty property)
          Deprecated.  
static void connectComponents(ISlot pin, GUIContainerComponent container, IProperty property)
          Deprecated.  
static void connectSlotEditors(ISlot pin, GUIComponent c)
          Deprecated. Connects the specified pin to the slot editors' element pin for all slot editors within the specified container.
static void connectSlotEditorsAndValues(ISlot pin, GUIComponent c)
          Deprecated.  
static void connectSlotValues(ISlot pin, GUIComponent c)
          Deprecated. Connects the specified pin to the slot value inputs' element pin for all slot value inputs within the specified container.
static void connectToDialog(GUIDialogComponent dialog, ISlot pinShow, GUIBufferComponent... parameterBuffers)
          Deprecated.  
static void connectToDialog(GUIDialogComponent dialog, ISlot pinShow, ISlot... pinParams)
          Deprecated. 
static GUIPanelComponent createFileComponent(GUIContainerComponent parent, IProperty property, boolean isEditable)
          Deprecated. Creates file component.
static GUIPanelComponent createFileComponent(GUIContainerComponent parent, IProperty property, boolean isEditable, boolean showSlotValue)
          Deprecated. Creates file component.
static GUIPanelComponent createFileComponent(IProperty property, boolean editable, boolean removable, boolean indirect, GUIContainerComponent parent, LayoutData layoutData)
          Deprecated. 
static GUIPanelComponent createFileComponent(IProperty property, boolean editable, boolean removable, GUIContainerComponent parent, LayoutData layoutData)
          Deprecated. 
static GUIPanelComponent createFileComponent(IProperty property, boolean editable, GUIContainerComponent parent, LayoutData layoutData)
          Deprecated. 
static GUIPanelComponent createPictureFileComponent(GUIContainerComponent parent, IProperty property, boolean isEditable)
          Deprecated. Helper function.
static
<T extends GUIComponent>
T
findDescendantPartByName(GUIComponent whence, java.lang.Class<T> ofType, java.lang.String name)
          Deprecated.  
static GUIElementComponent getBrowseButton(GUIPanelComponent panel)
          Deprecated.  
static GUIButtonComponent getRemoveButton(GUIPanelComponent panel)
          Deprecated.  
static GUIElementComponent getSlotValueComponent(GUIPanelComponent panel)
          Deprecated.  
static GUIButtonComponent getUploadButton(GUIPanelComponent panel)
          Deprecated.  
static void setAllowedExtensions(GUIPanelComponent fileComponent, java.lang.String extensions)
          Deprecated. Sets allowed file extensions for this file component.
static void setFromTo(GUIComponent c, ISlot fromPin, ISlot... toPins)
          Deprecated.  
static void setPerformImmediately(GUIContainerComponent container, PerformImmediately action)
          Deprecated.  
static void setReadOnly(GUIContainerComponent container)
          Deprecated.  
static void setToDirect(GUIContainerComponent container)
          Deprecated.  
static void updateTooltip(GUIPanelComponent fileComponent, java.lang.String extensions)
          Deprecated. Updates upload button's tooltip with information about maximum file size and allowed extensions (if any).
static
<T extends GUIComponent>
void
visitChildComponents(GUIComponent c, java.lang.Class<T> type, GUIFactory.IComponentVisitor<T> visitor)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_BUTTONS_CONTAINER

public static final java.lang.String FILE_BUTTONS_CONTAINER
Deprecated. 
See Also:
Constant Field Values

UPLOAD_BUTTON

public static final java.lang.String UPLOAD_BUTTON
Deprecated. 
See Also:
Constant Field Values

REMOVE_BUTTON

public static final java.lang.String REMOVE_BUTTON
Deprecated. 
See Also:
Constant Field Values

logger

public static final org.apache.log4j.Logger logger
Deprecated. 
Constructor Detail

GUIFactory

public GUIFactory()
Deprecated. 
Method Detail

setFromTo

public static void setFromTo(GUIComponent c,
                             ISlot fromPin,
                             ISlot... toPins)
Deprecated. 

visitChildComponents

public static <T extends GUIComponent> void visitChildComponents(GUIComponent c,
                                                                 java.lang.Class<T> type,
                                                                 GUIFactory.IComponentVisitor<T> visitor)
Deprecated. 

connectSlotEditors

public static void connectSlotEditors(ISlot pin,
                                      GUIComponent c)
Deprecated. 
Connects the specified pin to the slot editors' element pin for all slot editors within the specified container.


connectSlotValues

public static void connectSlotValues(ISlot pin,
                                     GUIComponent c)
Deprecated. 
Connects the specified pin to the slot value inputs' element pin for all slot value inputs within the specified container.


connectSlotEditorsAndValues

public static void connectSlotEditorsAndValues(ISlot pin,
                                               GUIComponent c)
Deprecated. 

connectComponents

public static void connectComponents(ISlot pin,
                                     GUIContainerComponent container,
                                     IProperty property)
Deprecated. 

connectComponents

public static <T extends GUIComponent> void connectComponents(ISlot pin,
                                                              GUIContainerComponent container,
                                                              java.lang.Class<T> type,
                                                              IProperty property)
Deprecated. 

connectCommandComponents

public static void connectCommandComponents(ISlot pin,
                                            GUIContainerComponent container,
                                            java.lang.Class<? extends rs.sol.soloist.server.builtindomains.commands.Command> commandType,
                                            IProperty property)
Deprecated. 

setPerformImmediately

public static void setPerformImmediately(GUIContainerComponent container,
                                         PerformImmediately action)
Deprecated. 

setToDirect

public static void setToDirect(GUIContainerComponent container)
Deprecated. 

setReadOnly

public static void setReadOnly(GUIContainerComponent container)
Deprecated. 

createFileComponent

@Deprecated
public static GUIPanelComponent createFileComponent(IProperty property,
                                                               boolean editable,
                                                               GUIContainerComponent parent,
                                                               LayoutData layoutData)
Deprecated. 


getUploadButton

public static GUIButtonComponent getUploadButton(GUIPanelComponent panel)
Deprecated. 

getRemoveButton

public static GUIButtonComponent getRemoveButton(GUIPanelComponent panel)
Deprecated. 

getBrowseButton

public static GUIElementComponent getBrowseButton(GUIPanelComponent panel)
Deprecated. 

getSlotValueComponent

public static GUIElementComponent getSlotValueComponent(GUIPanelComponent panel)
Deprecated. 

createFileComponent

@Deprecated
public static GUIPanelComponent createFileComponent(IProperty property,
                                                               boolean editable,
                                                               boolean removable,
                                                               GUIContainerComponent parent,
                                                               LayoutData layoutData)
Deprecated. 


createFileComponent

@Deprecated
public static GUIPanelComponent createFileComponent(IProperty property,
                                                               boolean editable,
                                                               boolean removable,
                                                               boolean indirect,
                                                               GUIContainerComponent parent,
                                                               LayoutData layoutData)
Deprecated. 


createFileComponent

public static GUIPanelComponent createFileComponent(GUIContainerComponent parent,
                                                    IProperty property,
                                                    boolean isEditable,
                                                    boolean showSlotValue)
Deprecated. 
Creates file component.

Parameters:
isEditable - - true allows uploading and removing files
showSlotValue - - Editable components do not show slot value by default. If showSlotValue is true, slot value will be displayed.

createFileComponent

public static GUIPanelComponent createFileComponent(GUIContainerComponent parent,
                                                    IProperty property,
                                                    boolean isEditable)
Deprecated. 
Creates file component.

Parameters:
isEditable - - allows uploading and removing files, otherwise slot value is displayed

createPictureFileComponent

public static GUIPanelComponent createPictureFileComponent(GUIContainerComponent parent,
                                                           IProperty property,
                                                           boolean isEditable)
Deprecated. 
Helper function. Creates file component for picture property. If editable allows only uploading following extensions: jpg/jpeg, gif, png and bmp.

Parameters:
isEditable - - allows uploading and removing files, otherwise slot value is displayed.

setAllowedExtensions

public static void setAllowedExtensions(GUIPanelComponent fileComponent,
                                        java.lang.String extensions)
Deprecated. 
Sets allowed file extensions for this file component. Updates upload button's tooltip with information about allowed extensions.

Parameters:
fileComponent -
extensions -

updateTooltip

public static void updateTooltip(GUIPanelComponent fileComponent,
                                 java.lang.String extensions)
Deprecated. 
Updates upload button's tooltip with information about maximum file size and allowed extensions (if any). If file component is not editable (don't have upload button) no information is added.

Parameters:
fileComponent -
extensions - - if null or empty no information is added

findDescendantPartByName

public static <T extends GUIComponent> T findDescendantPartByName(GUIComponent whence,
                                                                  java.lang.Class<T> ofType,
                                                                  java.lang.String name)
Deprecated. 

connectToDialog

public static void connectToDialog(GUIDialogComponent dialog,
                                   ISlot pinShow,
                                   GUIBufferComponent... parameterBuffers)
Deprecated. 

connectToDialog

@Deprecated
public static void connectToDialog(GUIDialogComponent dialog,
                                              ISlot pinShow,
                                              ISlot... pinParams)
Deprecated.