Foxit PDF SDK
|
Inherits NSObject.
Instance Methods | |
(id) | - init |
Constructor. | |
(id) | - initWithMenu_item: |
Constructor, with another menu item object. More... | |
(void) | - set:return_name:is_checked:is_enabled:sub_menu_item_array: |
Set values. More... | |
Properties | |
BOOL | is_checked |
A boolean value which indicates whether the menu item is to be marked as checked. More... | |
BOOL | is_enabled |
A boolean value which indicates whether the menu item is to appear enabled or grayed out. More... | |
NSString * | item_name |
The menu item name, which is the string to appear on the menu item. The value of "-" is reserved to draw a separator line in the menu. | |
NSString * | return_name |
A string to be returned when the menu item is selected. The default is the value of item name. | |
FSMenuItemExArray * | sub_menu_item_array |
The sub menu item array. | |
This class represents menu item.
- (id) initWithMenu_item: | (FSMenuItemEx*) | menu_item |
Constructor, with another menu item object.
[in] | menu_item | Another menu item object. |
- (void) set: | (NSString *) | item_name | |
return_name: | (NSString *) | return_name | |
is_checked: | (BOOL) | is_checked | |
is_enabled: | (BOOL) | is_enabled | |
sub_menu_item_array: | (FSMenuItemExArray*) | sub_menu_item_array | |
Set values.
[in] | item_name | The menu item name, which is the string to appear on the menu item. |
[in] | return_name | A string to be returned when the menu item is selected. |
[in] | is_checked | A boolean value which indicates whether the menu item is to be marked as checked. |
[in] | is_enabled | A boolean value which indicates whether the menu item is to appear enabled or grayed out. |
[in] | sub_menu_item_array | The sub menu item array. |
|
readwritenonatomicassign |
A boolean value which indicates whether the menu item is to be marked as checked.
YES means that the menu item is to be marked as checked, while NO means that the menu item is not to be marked as checked.
|
readwritenonatomicassign |
A boolean value which indicates whether the menu item is to appear enabled or grayed out.
YES means that the menu item is to appear enabled, while NO means that the menu item is to appear grayed out.