public class UIFont extends NSObject implements NSCopying, NSSecureCoding
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
UIFont(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static UIFont |
alloc() |
static UIFont |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
double |
ascender() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static UIFont |
boldSystemFontOfSize(double fontSize) |
static double |
buttonFontSize() |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
double |
capHeight() |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
double |
descender() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
java.lang.String |
familyName()
Font attributes
|
static NSArray<java.lang.String> |
familyNames()
Returns an array of font family names for all installed fonts
|
UIFontDescriptor |
fontDescriptor()
Returns a font descriptor which describes the font.
|
java.lang.String |
fontName() |
static NSArray<java.lang.String> |
fontNamesForFamilyName(java.lang.String familyName)
Returns an array of font names for the specified family name
|
static UIFont |
fontWithDescriptorSize(UIFontDescriptor descriptor,
double pointSize)
Returns a font matching the font descriptor.
|
static UIFont |
fontWithNameSize(java.lang.String fontName,
double fontSize)
Returns a font using CSS name matching semantics.
|
UIFont |
fontWithSize(double fontSize)
Create a new font that is identical to the current font except the specified size
|
static long |
hash_static() |
UIFont |
init() |
UIFont |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static UIFont |
italicSystemFontOfSize(double fontSize) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static double |
labelFontSize() |
double |
leading() |
double |
lineHeight() |
static UIFont |
monospacedDigitSystemFontOfSizeWeight(double fontSize,
double weight) |
static UIFont |
monospacedSystemFontOfSizeWeight(double fontSize,
double weight)
Returns current default monospaced font for system UI.
|
static UIFont |
new_objc() |
double |
pointSize() |
static UIFont |
preferredFontForTextStyle(java.lang.String style)
Returns an instance of the font associated with the text style and scaled appropriately for the user's selected content size category.
|
static UIFont |
preferredFontForTextStyleCompatibleWithTraitCollection(java.lang.String style,
UITraitCollection traitCollection)
Returns an instance of the font associated with the text style and scaled appropriately for the content size category defined in the trait collection.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
static double |
smallSystemFontSize() |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static UIFont |
systemFontOfSize(double fontSize)
Think carefully before using these methods.
|
static UIFont |
systemFontOfSizeWeight(double fontSize,
double weight)
Weights used here are analogous to those used with UIFontDescriptor's UIFontWeightTrait.
|
static double |
systemFontSize() |
static long |
version_static() |
double |
xHeight() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static UIFont alloc()
public static UIFont allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static UIFont boldSystemFontOfSize(double fontSize)
public static double buttonFontSize()
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static NSArray<java.lang.String> familyNames()
public static NSArray<java.lang.String> fontNamesForFamilyName(java.lang.String familyName)
public static UIFont fontWithDescriptorSize(UIFontDescriptor descriptor, double pointSize)
public static UIFont fontWithNameSize(java.lang.String fontName, double fontSize)
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static UIFont italicSystemFontOfSize(double fontSize)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static double labelFontSize()
public static UIFont monospacedDigitSystemFontOfSizeWeight(double fontSize, double weight)
public static UIFont new_objc()
public static UIFont preferredFontForTextStyle(java.lang.String style)
public static UIFont preferredFontForTextStyleCompatibleWithTraitCollection(java.lang.String style, UITraitCollection traitCollection)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static double smallSystemFontSize()
public static org.moe.natj.objc.Class superclass_static()
public static UIFont systemFontOfSize(double fontSize)
public static UIFont systemFontOfSizeWeight(double fontSize, double weight)
public static double systemFontSize()
public static long version_static()
public double ascender()
public double capHeight()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic double descender()
public java.lang.String familyName()
public UIFontDescriptor fontDescriptor()
public java.lang.String fontName()
public UIFont fontWithSize(double fontSize)
public double leading()
public double lineHeight()
public double pointSize()
public double xHeight()
public static UIFont monospacedSystemFontOfSizeWeight(double fontSize, double weight)
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic UIFont initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding