public class PhantomCBar extends Object implements Cloneable, INPObjects, IENPObjectOwner
| Modifier and Type | Field and Description |
|---|---|
static int | FLAG_BITMAPBar control bitmap type |
static int | FLAG_BMPBUTTONBar control bitmap button type |
static int | FLAG_CAPSLOCK_SUBTYPE |
static int | FLAG_CUSTOMDT_SUBTYPE |
static int | FLAG_DATETIMEBar control date time type and subtypes |
static int | FLAG_HOSTFLD_TYPEBar control hostfield type |
static int | FLAG_INSERT_SUBTYPE |
static int | FLAG_KBDIND_TYPEBar control keyboard indicator type and subtypes |
static int | FLAG_LARROW_SUBTYPE |
static int | FLAG_LDATE_SUBTYPE |
static int | FLAG_LTIME_SUBTYPE |
static int | FLAG_MSG_TYPEBar control message type |
static int | FLAG_NUMLOCK_SUBTYPE |
static int | FLAG_QUESTION_SUBTYPE |
static int | FLAG_RARROW_SUBTYPE |
static int | FLAG_SCRLOCK_SUBTYPE |
static int | FLAG_SDATE_SUBTYPE |
static int | FLAG_SPACINGBar control spacing type |
static int | FLAG_STDBUTTONBar control standard button type and subtypes |
static int | FLAG_STIME_SUBTYPE |
static int | FLAG_TEXT_TYPEBar control text type |
static int | FLAG_USERDRAWBar control user draw type |
| Modifier and Type | Method and Description |
|---|---|
boolean | equals(Object o)Checks for equality. |
PhantomCBarControl | getBarControl(String label)Methods that returns the bar control with the specified argument label, which is either the label of the object or the index to the object |
Vector<PhantomCBarControl> | getBarControls()Returns the bar controls |
ENPRootObject | getCachedNPObject()Gets the cached NPObject root. |
PhantomCBarControl | getControlWithLabel(String label)Method that returns the bar control object specified by the label argument Called from fetchBarControl |
int | getCreateFlags()Returns the create flags |
String | getDescription()Gets the Bar template file description. |
int | getFontSize()Returns the font size |
ENPRootObject | getNPObject()Gets the NPObjects for the host data. |
String | getNPObjectName()Gets the NP Object file name in the project application directory. |
String | getTemplateFileName()Gets the Bar Template name, i.e. |
void | onENPObjectInvalidated()Invalidates the chain of objects up to the owner in order to get it sent to Eclipse. |
void | save(String namedFile)Saves the bar to a named file. |
public static final int FLAG_MSG_TYPE
public static final int FLAG_TEXT_TYPE
public static final int FLAG_HOSTFLD_TYPE
public static final int FLAG_KBDIND_TYPE
public static final int FLAG_CAPSLOCK_SUBTYPE
public static final int FLAG_NUMLOCK_SUBTYPE
public static final int FLAG_SCRLOCK_SUBTYPE
public static final int FLAG_INSERT_SUBTYPE
public static final int FLAG_DATETIME
public static final int FLAG_STIME_SUBTYPE
public static final int FLAG_LTIME_SUBTYPE
public static final int FLAG_SDATE_SUBTYPE
public static final int FLAG_LDATE_SUBTYPE
public static final int FLAG_CUSTOMDT_SUBTYPE
public static final int FLAG_STDBUTTON
public static final int FLAG_LARROW_SUBTYPE
public static final int FLAG_RARROW_SUBTYPE
public static final int FLAG_QUESTION_SUBTYPE
public static final int FLAG_BMPBUTTON
public static final int FLAG_BITMAP
public static final int FLAG_USERDRAW
public static final int FLAG_SPACING
public void save(String namedFile) throws IOException
namedFile -IOExceptionpublic String getDescription()
public int getCreateFlags()
public int getFontSize()
public Vector<PhantomCBarControl> getBarControls()
public PhantomCBarControl getBarControl(String label)
label - either a label string, or an index to a bar controlpublic PhantomCBarControl getControlWithLabel(String label)
label - the label of the bar control that should be searched forpublic String getTemplateFileName()
public String getNPObjectName()
getNPObjectName in interface INPObjectspublic void onENPObjectInvalidated()
onENPObjectInvalidated in interface IENPObjectOwnerpublic ENPRootObject getCachedNPObject()
getCachedNPObject in interface INPObjectspublic ENPRootObject getNPObject()
getNPObject in interface INPObjectsPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.