public static class ConsoleWrap.ConsoleWrapImpl extends JavaStreamWrap.StreamWrapImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME |
byteCount, runtime| Modifier | Constructor and Description |
|---|---|
|
ConsoleWrap.ConsoleWrapImpl() |
protected |
ConsoleWrap.ConsoleWrapImpl(Handle handle,
ScriptRunner runtime) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
construct(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr) |
String |
getClassName() |
static void |
getWindowSize(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
Do the best we can to determine the window size, and otherwise return 80x24.
|
boolean |
isTty() |
static void |
setRawMode(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
close, getByteCount, getOnRead, getWriteQueueSize, onRead, readStart, readStop, setOnRead, writeAsciiString, writeBuffer, writeComplete, writeUcs2String, writeUtf8StringclearErrno, clearPin, close, getRunner, getRunner, ref, requestPin, setErrno, setErrno, unrefapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final String CLASS_NAME
protected ConsoleWrap.ConsoleWrapImpl(Handle handle, ScriptRunner runtime)
public ConsoleWrap.ConsoleWrapImpl()
public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class JavaStreamWrap.StreamWrapImpl@JSConstructor public static Object construct(org.mozilla.javascript.Context cx, Object[] args, org.mozilla.javascript.Function ctorObj, boolean inNewExpr)
@JSGetter(value="isTTY") public boolean isTty()
@JSFunction
public static void setRawMode(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction
public static void getWindowSize(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
Copyright © 2016 Apigee Corporation. All Rights Reserved.