|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rs.sol.soloist.server.guiconfiguration.construction.GUIFactory
@Deprecated public class GUIFactory
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
|
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
|
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
|
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 |
---|
public static final java.lang.String FILE_BUTTONS_CONTAINER
public static final java.lang.String UPLOAD_BUTTON
public static final java.lang.String REMOVE_BUTTON
public static final org.apache.log4j.Logger logger
Constructor Detail |
---|
public GUIFactory()
Method Detail |
---|
public static void setFromTo(GUIComponent c, ISlot fromPin, ISlot... toPins)
public static <T extends GUIComponent> void visitChildComponents(GUIComponent c, java.lang.Class<T> type, GUIFactory.IComponentVisitor<T> visitor)
public static void connectSlotEditors(ISlot pin, GUIComponent c)
public static void connectSlotValues(ISlot pin, GUIComponent c)
public static void connectSlotEditorsAndValues(ISlot pin, GUIComponent c)
public static void connectComponents(ISlot pin, GUIContainerComponent container, IProperty property)
public static <T extends GUIComponent> void connectComponents(ISlot pin, GUIContainerComponent container, java.lang.Class<T> type, IProperty property)
public static void connectCommandComponents(ISlot pin, GUIContainerComponent container, java.lang.Class<? extends rs.sol.soloist.server.builtindomains.commands.Command> commandType, IProperty property)
public static void setPerformImmediately(GUIContainerComponent container, PerformImmediately action)
public static void setToDirect(GUIContainerComponent container)
public static void setReadOnly(GUIContainerComponent container)
@Deprecated public static GUIPanelComponent createFileComponent(IProperty property, boolean editable, GUIContainerComponent parent, LayoutData layoutData)
public static GUIButtonComponent getUploadButton(GUIPanelComponent panel)
public static GUIButtonComponent getRemoveButton(GUIPanelComponent panel)
public static GUIElementComponent getBrowseButton(GUIPanelComponent panel)
public static GUIElementComponent getSlotValueComponent(GUIPanelComponent panel)
@Deprecated public static GUIPanelComponent createFileComponent(IProperty property, boolean editable, boolean removable, GUIContainerComponent parent, LayoutData layoutData)
@Deprecated public static GUIPanelComponent createFileComponent(IProperty property, boolean editable, boolean removable, boolean indirect, GUIContainerComponent parent, LayoutData layoutData)
public static GUIPanelComponent createFileComponent(GUIContainerComponent parent, IProperty property, boolean isEditable, boolean showSlotValue)
isEditable
- - true allows uploading and removing filesshowSlotValue
- - Editable components do not show slot value by default. If showSlotValue is true, slot value will be displayed.public static GUIPanelComponent createFileComponent(GUIContainerComponent parent, IProperty property, boolean isEditable)
isEditable
- - allows uploading and removing files, otherwise slot value is displayedpublic static GUIPanelComponent createPictureFileComponent(GUIContainerComponent parent, IProperty property, boolean isEditable)
isEditable
- - allows uploading and removing files, otherwise slot value is displayed.public static void setAllowedExtensions(GUIPanelComponent fileComponent, java.lang.String extensions)
fileComponent
- extensions
- public static void updateTooltip(GUIPanelComponent fileComponent, java.lang.String extensions)
fileComponent
- extensions
- - if null or empty no information is addedpublic static <T extends GUIComponent> T findDescendantPartByName(GUIComponent whence, java.lang.Class<T> ofType, java.lang.String name)
public static void connectToDialog(GUIDialogComponent dialog, ISlot pinShow, GUIBufferComponent... parameterBuffers)
@Deprecated public static void connectToDialog(GUIDialogComponent dialog, ISlot pinShow, ISlot... pinParams)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |