/** * Sets the drag id(s) to be associated with this component. * * @param dragid A space-delimited list of drag id's to be associated with this component. A * non-empty value enables dragging of the component. A dragged component may be * dropped upon a target component whose drop id(s) matches at least one of the drag * id's. A drag id value of "*" will match any drop id. */ @PropertySetter(value = "dragid", description = "A space-delimited list of drag id's associated with this component.") public void setDragid(String dragid) { propertyChange("dragid", this.dragid, this.dragid = trimify(dragid), true); }
/** * Sets the drag id(s) to be associated with this component. * * @param dropid A space-delimited list of drop id's to be associated with this component. A * non-empty value enables this component to act as a drop target. A dragged * component may be dropped upon a target component whose drop id(s) matches at least * one of the dragged component's drag id's. A drop id value of "*" will match any * drag id. */ @PropertySetter(value = "dropid", description = "A space-delimited list of drop id's associated with this component.") public void setDropid(String dropid) { propertyChange("dropid", this.dropid, this.dropid = trimify(dropid), true); }
/** * Sets the width. This is synchronized with the width style setting. * * @param width The width. */ @PropertySetter(value = "width", description = "The component's width.") public void setWidth(String width) { width = trimify(width); if (!areEqual(width, this.width)) { this.width = width; addStyle("width", width); } }
/** * Sets the height. This is synchronized with the height style setting. * * @param height The height. */ @PropertySetter(value = "height", description = "The component's height.") public void setHeight(String height) { height = trimify(height); if (!areEqual(height, this.height)) { this.height = height; addStyle("height", height); } }
/** * Sets the flex setting. This is synchronized with the flex style setting. * * @param flex The flex setting. */ @PropertySetter(value = "flex", description = "The component's flex style setting.") public void setFlex(String flex) { flex = trimify(flex); if (!areEqual(flex, this.flex)) { this.flex = flex; addStyle("flex", flex); } }