Examples of EffectType


Examples of com.intellij.openapi.editor.markup.EffectType

    Color foregroundColor = attributes.getForegroundColor();
    if (foregroundColor == null) foregroundColor = REGULAR_ATTRIBUTES.getFgColor();

    int style = attributes.getFontType();
    if (attributes.getEffectColor() != null) {
      EffectType effectType = attributes.getEffectType();
      if (effectType == EffectType.STRIKEOUT){
        style |= STYLE_STRIKEOUT;
      }
      else if (effectType == EffectType.WAVE_UNDERSCORE){
        style |= STYLE_WAVED;
View Full Code Here

Examples of com.intellij.openapi.editor.markup.EffectType

    return new SimpleTextAttributes(attributes.getBackgroundColor(), foregroundColor, attributes.getEffectColor(), style);
  }

  public TextAttributes toTextAttributes() {
    Color effectColor;
    EffectType effectType;
    if (isWaved()) {
      effectColor = myWaveColor;
      effectType = EffectType.WAVE_UNDERSCORE;
    } else if (isStrikeout()) {
      effectColor = myWaveColor;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Effect.EffectType

              }
            }//end for
           
            for(String stat : _negateEffectTypes)
            {
              EffectType effect_type = null;
              try{
                effect_type = EffectType.valueOf(stat.toUpperCase());
              }catch(Exception e){
                //
              }
View Full Code Here

Examples of com.ngt.jopenmetaverse.shared.sim.AgentManager.EffectType

            Packet packet = e.getPacket();
            ViewerEffectPacket effect = (ViewerEffectPacket)packet;

            for (ViewerEffectPacket.EffectBlock block : effect.Effect)
            {
                EffectType type = EffectType.get(block.Type);

                // Each ViewerEffect type uses it's own custom binary format for additional data. Fun eh?
                switch (type)
                {
                    case Text:
                        JLogger.warn("Received a ViewerEffect of type " + type.toString() + ", implement me!");
                        break;
                    case Icon:
                        JLogger.warn("Received a ViewerEffect of type " + type.toString() + ", implement me!");
                        break;
                    case Connector:
                        JLogger.warn("Received a ViewerEffect of type " + type.toString() + ", implement me!");
                        break;
                    case FlexibleObject:
                        JLogger.warn("Received a ViewerEffect of type " + type.toString() + ", implement me!");
                        break;
                    case AnimalControls:
                        JLogger.warn("Received a ViewerEffect of type " + type.toString() + ", implement me!");
                        break;
                    case AnimationObject:
                        JLogger.warn("Received a ViewerEffect of type " + type.toString() + ", implement me!");
                        break;
                    case Cloth:
                        JLogger.warn("Received a ViewerEffect of type " + type.toString() + ", implement me!");
                        break;
                    case Glow:
                        JLogger.warn("Received a Glow ViewerEffect which is not implemented yet");
                        break;
                    case Beam:
                    case Point:
                    case Trail:
                    case Sphere:
                    case Spiral:
                    case Edit:
                        if (onViewerEffect != null)
                        {
                            if (block.TypeData.length == 56)
                            {
                                UUID sourceAvatar = new UUID(block.TypeData, 0);
                                UUID targetObject = new UUID(block.TypeData, 16);
                                Vector3d targetPos = new Vector3d(block.TypeData, 32);
                                onViewerEffect.raiseEvent(new ViewerEffectEventArgs(type, sourceAvatar, targetObject, targetPos, block.Duration, block.ID));
                            }
                            else
                            {
                                JLogger.warn("Received a " + type.toString() +
                                    " ViewerEffect with an incorrect TypeData size of " +
                                    block.TypeData.length + " bytes");
                            }
                        }
                        break;
View Full Code Here

Examples of de.lessvoid.nifty.loaderv2.types.EffectType

  public void addEffectValues(final EffectValueType value) {
    effectValues.add(value);
  }

  public EffectType create() {
    EffectType effectType = new EffectType();
    effectType.initFromAttributes(attributes);
    for (int i=0; i<effectValues.size(); i++) {
      effectType.addValue(effectValues.get(i));
    }
    return effectType;
  }
View Full Code Here

Examples of org.broadinstitute.gatk.tools.walkers.annotator.SnpEff.EffectType

    //A helper function that gets the parent set of the set of children
    private static Set<EffectType> getParentSet(final Set<EffectType> children){
        final Set<EffectType> parents=new HashSet<>();
        for(EffectType child:children){
            final EffectType parent = snpEffectGraph.get(child);
            if(parent!=null) parents.add(parent);
        }
        return parents;
    }
View Full Code Here

Examples of org.opensaml.xacml.policy.EffectType

        ObligationsType obligations = context.getAuthorizationDecisionResult().getObligations();
        if (obligations == null || obligations.getObligations() == null) {
            return effectiveObligations;
        }

        EffectType activeEffect;
        if (context.getAuthorizationDecisionResult().getDecision().getDecision() == DECISION.Permit) {
            activeEffect = EffectType.Permit;
        } else {
            activeEffect = EffectType.Deny;
        }
View Full Code Here

Examples of org.opensaml.xacml.policy.EffectType

  String t2 = null;
  String t3 = null;
  String description = null;
  List<AttributeWizard> ruleContent = new LinkedList<AttributeWizard>();
  List<AttributeWizard> obligationContent = new LinkedList<AttributeWizard>();
  EffectType effect = null;
  AttributeWizard attr = null;
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case DESCRIPTION:
      jj_consume_token(DESCRIPTION);
      t1 = TextString();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.