Sets the drop-down menu right alignment.<br>
<br>
Defaults to {@link DropdownAlignRight#FALSE}.

@param dropdownAlignRight
@see DropdownAlignRight
324439
public void setDropdownAlignRight(final DropdownAlignRight dropdownAlignRight) {
        if (dropdownAlignRight != null)
            attrMixin.setAttribute(DROPDOWN_ALIGN_RIGHT, dropdownAlignRight.getValue());
        else
            attrMixin.removeAttribute(DROPDOWN_ALIGN_RIGHT);
    }
63048
public void setTextPitchAlignment(@Property.TEXT_PITCH_ALIGNMENT String value) {
    PropertyValue propertyValue = textPitchAlignment(value);
    constantPropertyUsageMap.put(PROPERTY_TEXT_PITCH_ALIGNMENT, propertyValue);
    layer.setProperties(propertyValue);
  }
1168333
@Override
    public void setInline(boolean value) {
        inline = value;
        if (headingToggle != null) {
            JQMCommon.setInlineEx(headingToggle, value, JQMCommon.STYLE_UI_BTN_INLINE);
        }
    }
311380
@Nonnull
  public CSSRect setRight (@Nonnull @Nonempty final String sRight)
  {
    ValueEnforcer.notEmpty (sRight, "Right");

    m_sRight = sRight;
    return this;
  }
182461
public void setOptions(
			String[] labels, String[] descriptions, int defaultIndex) 
	{
		if (labels.length != descriptions.length) {
            throw new IllegalArgumentException("Labels/descriptions mismatch.");
        }
		
		if (labels.length > 0) {
			this.optionLabels = labels.clone();
			this.optionDescriptions = descriptions.clone();
			this.defaultOptionIndex = defaultIndex;
		}
		else {
			// use placeholders for empty list of choices
			this.optionLabels = new String[]{NO_CHOICES};
			this.optionDescriptions = new String[]{NO_CHOICES_DESCRIPTION};
			this.defaultOptionIndex = 0;
		}
		
		// reset to default value
        resetToDefault();
        
        // refresh the edit component
        if (this.editComponent != null) {
        	this.editComponent.refresh();
        }
	}
1181242
public void setTopRightIcon(String iconClass, String title) {

        if (m_topRightIcon == null) {
            m_topRightIcon = new HTML();
            m_contentPanel.add(m_topRightIcon);
        }
        m_topRightIcon.setStyleName(I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().topRightIcon() + " " + iconClass);
        if (title != null) {
            m_topRightIcon.setTitle(title);
        }
    }
492690
public void setTickLabelOrientation(final TickLabelOrientation ORIENTATION) {
        if (null == tickLabelOrientation) {
            _tickLabelOrientation = null == ORIENTATION ? TickLabelOrientation.HORIZONTAL : ORIENTATION;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            tickLabelOrientation.set(ORIENTATION);
        }
    }
732769
private static void updateAlignment(DataLine dataLine, Align alignment)
    {
        if (dataLine.isControlSupported(Type.PAN))
        {
            final FloatControl pan = (FloatControl) dataLine.getControl(Type.PAN);
            switch (alignment)
            {
                case CENTER:
                    pan.setValue(0.0F);
                    break;
                case RIGHT:
                    pan.setValue(1.0F);
                    break;
                case LEFT:
                    pan.setValue(-1.0F);
                    break;
                default:
                    throw new LionEngineException(alignment);
            }
        }
    }
765747
def on_right_align_toggled(self, chk):
        
        v = chk.get_active()
        self.settings.general.set_int('window-halignment', 1 if v else 0)
126349
public void setTopRightCorner(@CornerFamily int cornerFamily, @Dimension int cornerSize) {
        setTopRightCorner(MaterialShapeUtils.createCornerTreatment(cornerFamily, cornerSize));
    }
921144
public void setTextAlignment(final TextAlignment ALIGNMENT) {
        if (null == textAlignment) {
            _textAlignment = ALIGNMENT;
            fireTileEvent(RESIZE_EVENT);
        } else {
            textAlignment.set(ALIGNMENT);
        }
    }
322544
public static final @BetterImageSpanAlignment
  int normalizeAlignment(int alignment) {
    switch (alignment) {
      case DynamicDrawableSpan.ALIGN_BOTTOM:
        return ALIGN_BOTTOM;
      case ALIGN_CENTER:
        return ALIGN_CENTER;
      case DynamicDrawableSpan.ALIGN_BASELINE:
      default:
        return ALIGN_BASELINE;
    }
  }
1170682
public void setChoices(List<String> choices) {
        if (!limitChoices) throw new IllegalArgumentException("Attempted to set choices when choices are not limited.");

        List<String> sorted = new ArrayList<String>();
        sorted.addAll(choices);
        Collections.sort(sorted);
        ((ComboBoxItem)this.nameItem).setValueMap(sorted);
    }
15375
public AT_Row setPaddingLeftRight(int padding){
		if(this.hasCells()){
			for(AT_Cell cell : this.getCells()){
				cell.getContext().setPaddingLeftRight(padding);
			}
		}
		return this;
	}
1161548
public PositionAlignmentOptions setHorizontalAlignment(PositionRelation horizontalAlignment, int offsetLeft)
	{
		switch (horizontalAlignment)
		{
			case LEFT:
			case CENTER:
			case RIGHT:
				break;
			default:
				throw new IllegalArgumentException("Illegal value for the horizontal alignment property");
		}

		this.horizontalAlignment = horizontalAlignment;
		this.offsetLeft = offsetLeft;
		return this;
	}
898308
public void setToDefaults() {
		styleName = "";
		styleNr = 0;
		alignment = Element.ALIGN_LEFT;
		justificationPercentage = 0;
		firstLineIndent = 0;
		leftIndent = 0;
		rightIndent = 0;
		adustRightIndent = 0;
		mirrorIndent = 0;
		overrideWidowControl = -1;
		AutoSpaceBetweenDBCEnglish = 0;
		AutoSpaceBetweenDBCNumbers = 0;
		noCharacterWrapping = 0;
		noWordWrapping = 0;
		noOverflowPeriodComma = 0;
		
	}
1311215
public PositionAlignmentOptions setVerticalAlignment(PositionRelation verticalAlignment, int offsetTop)
	{
		switch (verticalAlignment)
		{
			case TOP:
			case CENTER:
			case BOTTOM:
				break;
			default:
				throw new IllegalArgumentException("Illegal value for the vertical alignment property");
		}

		this.verticalAlignment = verticalAlignment;
		this.offsetTop = offsetTop;
		return this;
	}