Class 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>>
    • Field Summary

      • Fields inherited from class io.github.factoryfx.factory.attribute.ImmutableValueAttribute

        value
    • 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()  
      void internal_addListener​(io.github.factoryfx.factory.attribute.AttributeChangeListener<Javascript<A>,​JavascriptAttribute<A>> listener)  
      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)  
      void internal_endUsage()  
      java.util.List<com.google.javascript.jscomp.SourceFile> internal_getExterns()  
      boolean internal_match​(io.github.factoryfx.factory.attribute.AttributeMatch<Javascript<A>> value)  
      void internal_removeListener​(io.github.factoryfx.factory.attribute.AttributeChangeListener<Javascript<A>,​JavascriptAttribute<A>> listener)  
      void internal_setRunlaterExecutor​(java.util.function.Consumer<java.lang.Runnable> runlaterExecutor)  
      • Methods inherited from class io.github.factoryfx.factory.attribute.ImmutableValueAttribute

        defaultValue, getDisplayText, 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
      • Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMatch

        internal_referenceEquals, internal_referenceListEquals
      • Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMerger

        internal_mergeFactoryList
    • 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_match

        public boolean internal_match​(io.github.factoryfx.factory.attribute.AttributeMatch<Javascript<A>> value)
        Specified by:
        internal_match in interface io.github.factoryfx.factory.attribute.AttributeMatch<A>
        Overrides:
        internal_match in class io.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_copyTo in interface io.github.factoryfx.factory.attribute.AttributeCopy<A>
        Overrides:
        internal_copyTo in class io.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:
        get in interface io.github.factoryfx.factory.attribute.AttributeValue<A>
        Overrides:
        get in class io.github.factoryfx.factory.attribute.ImmutableValueAttribute<Javascript<A>,​JavascriptAttribute<A>>
      • internal_setRunlaterExecutor

        public void internal_setRunlaterExecutor​(java.util.function.Consumer<java.lang.Runnable> runlaterExecutor)
      • internal_removeListener

        public void internal_removeListener​(io.github.factoryfx.factory.attribute.AttributeChangeListener<Javascript<A>,​JavascriptAttribute<A>> listener)
        Overrides:
        internal_removeListener in class io.github.factoryfx.factory.attribute.Attribute<Javascript<A>,​JavascriptAttribute<A>>
      • internal_endUsage

        public void internal_endUsage()
        Overrides:
        internal_endUsage in class io.github.factoryfx.factory.attribute.Attribute<Javascript<A>,​JavascriptAttribute<A>>