StyleValue
סקירה כללית
StyleValue הוא שיעור ב Aspose.Cells FOSS עבור Java.
מייצג ערך סגנון עם תכונות עיצוב שונות.
שיעור זה מספק 20 שיטות לעבוד עם אובייקטים StyleValue בתוכניות Java. שיטות זמינות כוללות: clone, getAlignment, getBackgroundColor, getBorders, getDefault, getFont, getForegroundColor, getNumberFormat, getPattern, getProtection, getRawFillXml, setAlignment,8 שיטות נוספות. כל החברים המייצרים זמינים לכל יישום Java לאחר התקנת Aspose.Cells FOSS עבור חבילת Java. רכוש : alignment, backgroundColor, borders, default, font, foregroundColor,ועוד ארבעה.
תיאור
StyleValue הוא שיעור בספריה FOSS עבור Java המציג 20 שיטות ו-10 תכונות לשימוש תוכנה.
היכולות הבסיסיות כוללות: stylevalue; fontvalue; fillpatternkind.פעולות אלה מאפשרות למפתחים לשלב את הפונקציונליות של ערך סגנון ישירות ליישומים Java.
גם בכיתה זו נמסר כי default ערך המוצר (משמעותו של הערך הנדרש), font רכוש (חזיר את הפורמט), pattern רכוש (חזיר את הדפוס ).
נכסים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
default | StyleValue | קראו | מקבל את הערך של סגנון ברירת המחדל. |
font | FontValue | קראו | חזור על הפורט. |
pattern | FillPatternKind | קראו | להחזיר את הדפוס. |
foregroundColor | ColorValue | קראו | החזיר את הצבע הקדמי. |
backgroundColor | ColorValue | קראו | להחזיר את צבע הרקע. |
borders | BordersValue | קראו | חזרנו לגבולות. |
alignment | AlignmentValue | קראו | להחזיר את ההסדר. |
protection | ProtectionValue | קראו | להחזיר את ההגנה. |
numberFormat | NumberFormatValue | קראו | החזיר את המספרים לתבנית. |
rawFillXml | String | קראו | מקבל את המלאה הירוק xml. |
שיטות
| חתימה | תיאור |
|---|---|
getDefault() → StyleValue | מקבל את הערך של סגנון ברירת המחדל. |
getFont() → FontValue | חזור על הפורט. |
setFont(font: FontValue) | תן את הפורט. |
getPattern() → FillPatternKind | להחזיר את הדפוס. |
setPattern(pattern: FillPatternKind) | תן את הדפוס. |
getForegroundColor() → ColorValue | החזיר את הצבע הקדמי. |
setForegroundColor(foregroundColor: ColorValue) | להגדיר את הצבע הקדמי. |
getBackgroundColor() → ColorValue | להחזיר את צבע הרקע. |
setBackgroundColor(backgroundColor: ColorValue) | להגדיר את צבע הרקע. |
getBorders() → BordersValue | חזרנו לגבולות. |
setBorders(borders: BordersValue) | קבעו את הגבולות. |
getAlignment() → AlignmentValue | להחזיר את ההסדר. |
setAlignment(alignment: AlignmentValue) | תנו את ההתאמה. |
getProtection() → ProtectionValue | להחזיר את ההגנה. |
setProtection(protection: ProtectionValue) | תנו לה הגנה. |
getNumberFormat() → NumberFormatValue | החזיר את המספרים לתבנית. |
setNumberFormat(numberFormat: NumberFormatValue) | תן את המספרים בפורמט. |
getRawFillXml() → String | החזיר את המלאי הירוק xml. |
setRawFillXml(rawFillXml: String) | הגדר את הערך המלא ירוק xml. |
clone() → StyleValue | יצירת עותק של המקרה הזה. |