|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicBuilderInputDefinition
Field Summary | |
---|---|
static int |
PT_ELEMENTS
|
static int |
PT_NONE
|
static int |
PT_VALUE
|
Fields inherited from interface com.bowstreet.generation.BuilderInputDefinition |
---|
TY_BOOLEAN, TY_OBJECT, TY_STRING, TY_XML |
Method Summary | |
---|---|
java.util.Map |
getArguments()
Get all the arguments |
java.lang.String |
getBaseBuilderCall()
Get the base builder call to use to initialize this input, or null if none. |
java.lang.String |
getBaseInputID()
Gets this input's base input definition |
boolean |
getBoolean()
Gets the data as a boolean. |
java.lang.String |
getCoordinatorNamespace()
Get the name of the space to use when running a shared coordinator - inputs with matching values will be visible to each other and will use the same coordinator instance. |
java.lang.String |
getEditorClassName()
Gets the widget class name |
java.lang.String |
getGroupID()
Get the group ID this input is associated with (null if not in a group) |
java.lang.Object |
getInitialValue()
Gets the initial (default) value of this builder input |
com.bowstreet.editor.uitools.widgets.Widget |
getInputEditor()
Gets current editor widget. |
java.lang.Object |
getObject()
Gets the named data as a Object. |
java.lang.String |
getPageID()
Get the page ID this input is associated with (null if not on a specified page) |
java.lang.String |
getPathFinder()
This will return null or the name of a class that implements com.bowstreet.designer.eclipse.util.FileOpenerListener$PathFinder If it is non-null, the Label will instead be a link to open the element named by the getString method. |
java.lang.String |
getProfileEntry()
|
java.lang.String |
getString()
Gets the named data as a String. |
boolean |
getUseAssociatedCoordinator()
Get the flag controlling whether any coordinator associated with this input will be run when this input is used. |
IXml |
getXml()
Gets the named data as a IXml. |
boolean |
hasValue()
See if this builder input has a value. |
void |
removeValue()
Removes input value from BuilderInputs |
void |
setArgument(java.lang.String argumentName,
java.lang.Object value)
This is used to set properties for editor widgets. |
void |
setBaseBuilderCall(java.lang.String modelAndCallID)
Set the page ID this input is associated with. |
void |
setBoolean(boolean value)
Sets the named data with the specified boolean value. |
void |
setCoordinatorNamespace(java.lang.String namespace)
Set the name of the space to use when running a shared coordinator. |
void |
setEditorClassName(java.lang.String javaClassName,
boolean clearArguments)
Change which widget is used to edit this element Example widget classes: com.bowstreet.editor.uitools.widgets.BComboBox com.bowstreet.editor.uitools.widgets.BButton com.bowstreet.editor.uitools.widgets.BCheckBox com.bowstreet.editor.uitools.widgets.BIndirectValue com.bowstreet.editor.uitools.widgets.BTextArea com.bowstreet.editor.uitools.widgets.FileChooser com.bowstreet.editor.uitools.widgets.BTextField com.bowstreet.editor.uitools.widgets.BRadioBox |
void |
setGroupID(java.lang.String id)
Set the group ID this input is associated with. |
void |
setHelpText(java.lang.String text)
Set help text |
void |
setInputEditor(com.bowstreet.editor.uitools.widgets.Widget editor)
Use a specific editor widget (internal use). |
void |
setObject(java.lang.Object value)
Sets the named data with the specified Object value. |
void |
setPageID(java.lang.String id)
Set the page ID this input is associated with. |
void |
setPathFinder(java.lang.String pathFinder)
Set the name of a class that implements com.bowstreet.designer.eclipse.util.FileOpenerListener$PathFinder to make the Label be, instead, a link which opens the element named by the getString method. |
void |
setPrompt(java.lang.String prompt)
Sets prompt |
void |
setRequired(boolean isRequired)
Sets required property of the builder input. |
void |
setString(java.lang.String value)
Sets the named data with the specified String value. |
void |
setUseAssociatedCoordinator(boolean useCoordinator)
Set the flag controlling whether any coordinator associated with this input will be run when this input is used. |
void |
setVisible(boolean isVisible)
Shows or hides the input. |
void |
setXml(IXml value)
Sets the named data with the specified IXml value. |
Methods inherited from interface com.bowstreet.generation.BuilderInputDefinition |
---|
getEmptyValueReplacement, getHelpText, getName, getProfileType, getPrompt, getType, isAvailableInPropertyPanel, isCallable, isDeprecated, isRequired, isVisible, makeDynamicCopy |
Methods inherited from interface com.bowstreet.generation.ProfiledElement |
---|
getFixedWidth, getHelpText, getName, getProfileType, getPrompt, isRequired, setProfileEntry |
Methods inherited from interface com.bowstreet.generation.ProfileableEntity |
---|
getHelpText, getName, getProfileType, getPrompt, isProfiled, isRequired, setProfileEntry |
Field Detail |
---|
static final int PT_ELEMENTS
static final int PT_NONE
static final int PT_VALUE
Method Detail |
---|
java.util.Map getArguments()
getArguments
in interface BuilderInputDefinition
java.lang.String getBaseBuilderCall()
java.lang.String getBaseInputID()
boolean getBoolean()
java.lang.String getCoordinatorNamespace()
java.lang.String getEditorClassName()
getEditorClassName
in interface com.bowstreet.generation.ProfileableEntity
java.lang.String getGroupID()
java.lang.Object getInitialValue()
com.bowstreet.editor.uitools.widgets.Widget getInputEditor()
java.lang.Object getObject()
getObject
in interface com.bowstreet.generation.ProfileableEntity
java.lang.String getPageID()
java.lang.String getPathFinder()
java.lang.String getProfileEntry()
getProfileEntry
in interface com.bowstreet.generation.ProfileableEntity
getProfileEntry
in interface com.bowstreet.generation.ProfiledElement
java.lang.String getString()
getString
in interface com.bowstreet.generation.ProfiledStringElement
boolean getUseAssociatedCoordinator()
IXml getXml()
boolean hasValue()
void removeValue()
void setArgument(java.lang.String argumentName, java.lang.Object value)
argumentName
- The name of the property to setvalue
- The property valuevoid setBaseBuilderCall(java.lang.String modelAndCallID)
modelAndCallID
- the model ID and builder call ID, separated by a colon.void setBoolean(boolean value)
value
- The value to set on the specified name.void setCoordinatorNamespace(java.lang.String namespace)
namespace
- name.void setEditorClassName(java.lang.String javaClassName, boolean clearArguments)
javaClassName
- The editor widget class name to use from now onclearArguments
- true if the Arguments should be clearedvoid setGroupID(java.lang.String id)
id
- Group name.void setHelpText(java.lang.String text)
text
- The new help textvoid setInputEditor(com.bowstreet.editor.uitools.widgets.Widget editor)
editor
- the Widget instance to use as an editorvoid setObject(java.lang.Object value)
setObject
in interface com.bowstreet.generation.ProfileableEntity
value
- The value to set on the specified name.void setPageID(java.lang.String id)
id
- Page name.void setPathFinder(java.lang.String pathFinder)
pathFinder
- void setPrompt(java.lang.String prompt)
prompt
- The new promptvoid setRequired(boolean isRequired)
isRequired
- - whether or not this builder input is requiredvoid setString(java.lang.String value)
setString
in interface com.bowstreet.generation.ProfiledStringElement
value
- The value to set on the specified name.void setUseAssociatedCoordinator(boolean useCoordinator)
useCoordinator
- the model ID and builder call ID, separated by a colon.void setVisible(boolean isVisible)
isVisible
- Set true to make visiblevoid setXml(IXml value)
value
- The value to set on the specified name.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |