Class JavascriptAttribute<A>
- java.lang.Object
-
- io.github.factoryfx.factory.attribute.Attribute<T,A>
-
- io.github.factoryfx.factory.attribute.ImmutableValueAttribute<Javascript<A>,JavascriptAttribute<A>>
-
- io.github.factoryfx.javascript.data.attributes.types.JavascriptAttribute<A>
-
- Type Parameters:
A- api class
- All Implemented Interfaces:
io.github.factoryfx.factory.attribute.AttributeCopy<Javascript<A>>,io.github.factoryfx.factory.attribute.AttributeMatch<Javascript<A>>,io.github.factoryfx.factory.attribute.AttributeMerger<Javascript<A>>,io.github.factoryfx.factory.attribute.AttributeValue<Javascript<A>>
public class JavascriptAttribute<A> extends io.github.factoryfx.factory.attribute.ImmutableValueAttribute<Javascript<A>,JavascriptAttribute<A>>
-
-
Constructor Summary
Constructors Constructor Description JavascriptAttribute(java.util.function.Supplier<java.util.List<? extends io.github.factoryfx.factory.FactoryBase<?,?>>> data, java.lang.Class<A> apiClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Javascript<A>get()voidinternal_addListener(io.github.factoryfx.factory.attribute.AttributeChangeListener<Javascript<A>,JavascriptAttribute<A>> listener)voidinternal_copyTo(io.github.factoryfx.factory.attribute.AttributeCopy<Javascript<A>> copyAttribute, int level, int maxLevel, java.util.List<io.github.factoryfx.factory.FactoryBase<?,?>> oldData, io.github.factoryfx.factory.FactoryBase<?,?> parent, io.github.factoryfx.factory.FactoryBase<?,?> root)voidinternal_endUsage()java.util.List<com.google.javascript.jscomp.SourceFile>internal_getExterns()booleaninternal_mergeMatch(io.github.factoryfx.factory.attribute.AttributeMatch<Javascript<A>> value)voidinternal_removeListener(io.github.factoryfx.factory.attribute.AttributeChangeListener<Javascript<A>,JavascriptAttribute<A>> listener)voidinternal_setRunlaterExecutor(java.util.function.Consumer<java.lang.Runnable> runlaterExecutor)-
Methods inherited from class io.github.factoryfx.factory.attribute.ImmutableValueAttribute
defaultValue, getDisplayText, getNullable, getValue, internal_addBackReferences, internal_required, internal_reset, internal_semanticCopyTo, internal_validate, nullable, set, setValue
-
Methods inherited from class io.github.factoryfx.factory.attribute.Attribute
addonText, createAttributeStorageMetadata, de, en, es, fr, internal_getAddonText, internal_getListeners, internal_getPreferredLabelText, internal_getPreferredTooltipText, internal_hasWritePermission, internal_isUserReadOnly, internal_merge, internal_removeAllListener, it, labelText, labelText, listenersEmpty, permission, pt, tooltipDe, tooltipEn, updateListeners, userReadOnly, userReadOnly, validation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
JavascriptAttribute
public JavascriptAttribute(java.util.function.Supplier<java.util.List<? extends io.github.factoryfx.factory.FactoryBase<?,?>>> data, java.lang.Class<A> apiClass)
-
-
Method Detail
-
internal_mergeMatch
public boolean internal_mergeMatch(io.github.factoryfx.factory.attribute.AttributeMatch<Javascript<A>> value)
- Specified by:
internal_mergeMatchin interfaceio.github.factoryfx.factory.attribute.AttributeMatch<A>- Overrides:
internal_mergeMatchin classio.github.factoryfx.factory.attribute.ImmutableValueAttribute<Javascript<A>,JavascriptAttribute<A>>
-
internal_copyTo
public void internal_copyTo(io.github.factoryfx.factory.attribute.AttributeCopy<Javascript<A>> copyAttribute, int level, int maxLevel, java.util.List<io.github.factoryfx.factory.FactoryBase<?,?>> oldData, io.github.factoryfx.factory.FactoryBase<?,?> parent, io.github.factoryfx.factory.FactoryBase<?,?> root)
- Specified by:
internal_copyToin interfaceio.github.factoryfx.factory.attribute.AttributeCopy<A>- Overrides:
internal_copyToin classio.github.factoryfx.factory.attribute.ImmutableValueAttribute<Javascript<A>,JavascriptAttribute<A>>
-
internal_getExterns
public java.util.List<com.google.javascript.jscomp.SourceFile> internal_getExterns()
-
get
public Javascript<A> get()
- Specified by:
getin interfaceio.github.factoryfx.factory.attribute.AttributeValue<A>- Overrides:
getin classio.github.factoryfx.factory.attribute.ImmutableValueAttribute<Javascript<A>,JavascriptAttribute<A>>
-
internal_setRunlaterExecutor
public void internal_setRunlaterExecutor(java.util.function.Consumer<java.lang.Runnable> runlaterExecutor)
-
internal_addListener
public void internal_addListener(io.github.factoryfx.factory.attribute.AttributeChangeListener<Javascript<A>,JavascriptAttribute<A>> listener)
- Overrides:
internal_addListenerin classio.github.factoryfx.factory.attribute.Attribute<Javascript<A>,JavascriptAttribute<A>>
-
internal_removeListener
public void internal_removeListener(io.github.factoryfx.factory.attribute.AttributeChangeListener<Javascript<A>,JavascriptAttribute<A>> listener)
- Overrides:
internal_removeListenerin classio.github.factoryfx.factory.attribute.Attribute<Javascript<A>,JavascriptAttribute<A>>
-
internal_endUsage
public void internal_endUsage()
- Overrides:
internal_endUsagein classio.github.factoryfx.factory.attribute.Attribute<Javascript<A>,JavascriptAttribute<A>>
-
-