|
|||||||||
| Home >> All >> com >> flexstor >> remote >> [ script overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.flexstor.remote.script
Class ScriptableFrame

java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
com.flexstor.remote.script.ScriptableFrame
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- public class ScriptableFrame
- extends java.awt.Frame
| Nested Class Summary |
| Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
(package private) java.util.Vector |
assetKeys
|
(package private) java.util.Hashtable |
assetRecords
|
(package private) com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData |
currentAsset
|
(package private) java.util.Hashtable |
currentData
|
(package private) com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData |
currentOut
|
(package private) java.util.Hashtable |
currentOutData
|
(package private) com.flexstor.common.importprocessor.ImportData |
impData
|
(package private) int |
index
|
(package private) ScriptService |
service
|
| Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Window |
|
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ScriptableFrame(java.util.Hashtable Records,
ScriptService svc,
java.lang.String scriptName)
|
|
| Method Summary | |
boolean |
addChildAsset()
addChildAsset Creates a new DisguiseAssetRecordData object and adds it to the currentAsset as a child. |
boolean |
addData(java.lang.String sData)
Sets the value specified for the Asset field (key) specified, which will later be used to update the ImportData. |
boolean |
completeUpdate()
Completes the update process by sending the data for the current Child Asset, and setting things up to send it all back from whence it came. |
boolean |
deleteCurrentAsset()
|
boolean |
deleteCurrentOutAsset()
|
private boolean |
getAssetByPath(java.lang.String sName)
|
java.lang.String[] |
getCTLOptions()
getCTLOptions Gets the [options] section of the .ctl file. |
java.lang.String |
GetFileName()
GetFileName |
java.lang.String |
GetNextFile()
Sets the next Asset in the list to the current Asset, and returns it's filename. |
int |
GetNumberOfAssets()
getNumberOfAssets |
java.awt.Dimension |
getPreferredSize()
In previous versions a frame was used to display information about a script being run. |
java.lang.String |
GetServerName()
Deprecated. Use getValueAsString. DEPRECATED - Use getValueAsString. IE: get Value As String of Frame theFrame using "server" |
int |
getValueAsInteger(java.lang.String sKey)
getValueAsInteger |
java.lang.String |
getValueAsString(java.lang.String sKey)
GetValueAsString |
void |
logDebugMessage(java.lang.String text)
Allows applescripts to add text to the debug log Does not print to console window. |
boolean |
makeChildCurrent()
makeChildCurrent After updating ImportData with the currentData, The currentChild Asset (created by calling addChildAsset) is set to be the currentAsset. |
boolean |
SelectAssetByPath(java.lang.String sName)
SelectAssetByName Updates ImportData with the current Child Assets Data, then sets the currentAsset to the one specified by the value passed in as sName. |
int |
SelectNextAsset()
SelectNextAsset Updates ImportData with the current Child Assets Data, then advances to the next Asset in the ImportData Object |
boolean |
SetFileName(java.lang.String fileName)
Deprecated. use addData instead IE: add Data of Frame theFrame using \"filename=aFile.TIF\""); |
boolean |
SetFileSize(java.lang.String size)
Deprecated. Use addData instead. IE: addData("filesize=100"); |
boolean |
SetHeight(java.lang.String height)
Deprecated. Use addData instead. IE: addData("height=100"); |
int |
SetImageType(java.lang.String type)
Deprecated. Use addData and pass in the role ID of the Role you want the new Child asset to have. add Data of Frame theFrame using \"roleid=3\" (3 is for thumbnail)" ); |
boolean |
SetWidth(java.lang.String width)
Deprecated. Use addData instead. IE: addData("width=100"); |
boolean |
SetXRes(java.lang.String xres)
Deprecated. Use addData instead. add Data of Frame theFrame using \"xres=100\"" ); |
boolean |
SetYRes(java.lang.String yres)
Deprecated. Use addData instead. IE: addData("yres=100"); |
void |
writeToConsole(java.lang.String text)
Allows applescripts to write text to the output console of the Remote Asset Server also write text to the debug log |
void |
writeToErrorlog(java.lang.String text)
Provides FlexError support for Applescripts. |
| Methods inherited from class java.awt.Frame |
addNotify, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Field Detail |
impData
com.flexstor.common.importprocessor.ImportData impData
service
ScriptService service
assetRecords
java.util.Hashtable assetRecords
index
int index
assetKeys
java.util.Vector assetKeys
currentAsset
com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData currentAsset
currentData
java.util.Hashtable currentData
currentOut
com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData currentOut
currentOutData
java.util.Hashtable currentOutData
| Constructor Detail |
ScriptableFrame
public ScriptableFrame(java.util.Hashtable Records, ScriptService svc, java.lang.String scriptName)
| Method Detail |
GetNumberOfAssets
public int GetNumberOfAssets()
- getNumberOfAssets
GetNextFile
public java.lang.String GetNextFile()
- Sets the next Asset in the list to the current Asset, and returns it's filename.
This can be used as a shortcut for SelectNextAsset(); GetFileName();
SelectNextAsset
public int SelectNextAsset()
- SelectNextAsset
Updates ImportData with the current Child Assets Data,
then advances to the next Asset in the ImportData Object
getAssetByPath
private boolean getAssetByPath(java.lang.String sName)
SelectAssetByPath
public boolean SelectAssetByPath(java.lang.String sName)
- SelectAssetByName
Updates ImportData with the current Child Assets Data,
then sets the currentAsset to the one specified by the value passed in as sName.
getValueAsString
public java.lang.String getValueAsString(java.lang.String sKey)
- GetValueAsString
getValueAsInteger
public int getValueAsInteger(java.lang.String sKey)
- getValueAsInteger
completeUpdate
public boolean completeUpdate()
- Completes the update process by sending the data for the current Child Asset,
and setting things up to send it all back from whence it came.
This should be used when your service is finished updating the ImportData Object.
getCTLOptions
public java.lang.String[] getCTLOptions()
- getCTLOptions
Gets the [options] section of the .ctl file.
GetFileName
public java.lang.String GetFileName()
- GetFileName
GetServerName
public java.lang.String GetServerName()
- Deprecated. Use getValueAsString.
DEPRECATED - Use getValueAsString. IE: get Value As String of Frame theFrame using "server"
addChildAsset
public boolean addChildAsset()
- addChildAsset
Creates a new DisguiseAssetRecordData object
and adds it to the currentAsset as a child.
deleteCurrentOutAsset
public boolean deleteCurrentOutAsset()
deleteCurrentAsset
public boolean deleteCurrentAsset()
makeChildCurrent
public boolean makeChildCurrent()
- makeChildCurrent
After updating ImportData with the currentData,
The currentChild Asset (created by calling addChildAsset)
is set to be the currentAsset. This is done to create children
of children, so addChildAsset should be called after this.
addData
public boolean addData(java.lang.String sData)
- Sets the value specified for the Asset field (key) specified,
which will later be used to update the ImportData.
SetFileName
public boolean SetFileName(java.lang.String fileName)
- Deprecated. use addData instead IE: add Data of Frame theFrame using \"filename=aFile.TIF\"");
- Set the filename for the current Child Asset. Note: addChildAsset should be called prior to calling this method, or there will be no Asset to set the filename for.
- Set the filename for the current Child Asset. Note: addChildAsset should be called prior to calling this method, or there will be no Asset to set the filename for.
SetImageType
public int SetImageType(java.lang.String type)
- Deprecated. Use addData and pass in the role ID of the Role you want the
new Child asset to have. add Data of Frame theFrame using \"roleid=3\" (3 is for thumbnail)" );
- SetImageType Will set the AssetType of the current Assets Role to the type specified
- SetImageType Will set the AssetType of the current Assets Role to the type specified
SetXRes
public boolean SetXRes(java.lang.String xres)
- Deprecated. Use addData instead. add Data of Frame theFrame using \"xres=100\"" );
- Sets the XRes value for the current Child Asset
- Sets the XRes value for the current Child Asset
SetYRes
public boolean SetYRes(java.lang.String yres)
- Deprecated. Use addData instead. IE: addData("yres=100");
- Sets the YRes value for the current Child Asset.
- Sets the YRes value for the current Child Asset.
SetWidth
public boolean SetWidth(java.lang.String width)
- Deprecated. Use addData instead. IE: addData("width=100");
- Sets the Width value for the current Child Asset.
- Sets the Width value for the current Child Asset.
SetHeight
public boolean SetHeight(java.lang.String height)
- Deprecated. Use addData instead. IE: addData("height=100");
- Sets the Height value for the current Child Asset.
- Sets the Height value for the current Child Asset.
SetFileSize
public boolean SetFileSize(java.lang.String size)
- Deprecated. Use addData instead. IE: addData("filesize=100");
- Sets the FileSize value for the current Child Asset.
- Sets the FileSize value for the current Child Asset.
logDebugMessage
public void logDebugMessage(java.lang.String text)
- Allows applescripts to add text to the debug log
Does not print to console window.
writeToErrorlog
public void writeToErrorlog(java.lang.String text)
- Provides FlexError support for Applescripts.
writes text to Output console, debug log(indirectly),
and to the FlexDBServer error log.
writeToConsole
public void writeToConsole(java.lang.String text)
- Allows applescripts to write text to
the output console of the Remote Asset Server
also write text to the debug log
getPreferredSize
public java.awt.Dimension getPreferredSize()
- In previous versions a frame was used to display information about
a script being run. This was used to close the window.
public void closeWindow()
{
setVisible(false);
Diagnostic.trace(Diagnostic.CAT_SCRIPT_SVC, "Set visible false");
}
|
|||||||||
| Home >> All >> com >> flexstor >> remote >> [ script overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC