public class HubAODelegate extends Object
Modifier and Type | Field and Description |
---|---|
protected static HashSet<Hub> |
hsWarnOnSettingAO |
Constructor and Description |
---|
HubAODelegate() |
Modifier and Type | Method and Description |
---|---|
static void |
keepActiveObject(Hub thisHub) |
static Object |
setActiveObject(Hub thisHub,
int pos)
Navigational method that will set the position of the active object.
|
protected static Object |
setActiveObject(Hub thisHub,
int pos,
boolean bUpdateLink,
boolean bForce,
boolean bCalledByShareHub) |
static void |
setActiveObject(Hub thisHub,
Object object)
Navigational method to set the active object.
|
static void |
setActiveObject(Hub thisHub,
Object object,
boolean adjustMaster)
Navigational method that is another form of setActiveObject() that will adjust the master hub.
|
static void |
setActiveObject(Hub thisHub,
Object object,
boolean adjustMaster,
boolean bUpdateLink,
boolean bForce) |
static void |
setActiveObject(Hub thisHub,
Object object,
int pos) |
protected static void |
setActiveObject(Hub thisHub,
Object object,
int pos,
boolean bUpdateLink,
boolean bForce,
boolean bCalledByShareHub) |
static void |
setActiveObject(Hub thisHub,
Object object,
int pos,
boolean bUpdateLink,
boolean bForce,
boolean bCalledByShareHub,
boolean bUpdateDetail)
Main setActiveObject
Naviagational method that sets the current active object.
|
static void |
setActiveObjectForce(Hub thisHub,
Object object)
Change active object even if it has not changed.
|
static void |
updateDetailHubs(Hub thisHub) |
static void |
warnOnSettingAO(Hub thisHub) |
public static Object setActiveObject(Hub thisHub, int pos)
pos
- position to set. If > size() or < 0 then it will be set to null, and getPos() will return -1Hub.getActiveObject()
public static void setActiveObject(Hub thisHub, Object object)
object
- Object to make active. If it does not exist in Hub, then active object will be set to nullHub.getActiveObject()
public static void setActiveObjectForce(Hub thisHub, Object object)
public static void setActiveObject(Hub thisHub, Object object, boolean adjustMaster)
adjustMaster
- - see getPos(Object, boolean) for notespublic static void setActiveObject(Hub thisHub, Object object, boolean adjustMaster, boolean bUpdateLink, boolean bForce)
protected static Object setActiveObject(Hub thisHub, int pos, boolean bUpdateLink, boolean bForce, boolean bCalledByShareHub)
protected static void setActiveObject(Hub thisHub, Object object, int pos, boolean bUpdateLink, boolean bForce, boolean bCalledByShareHub)
public static void warnOnSettingAO(Hub thisHub)
public static void setActiveObject(Hub thisHub, Object object, int pos, boolean bUpdateLink, boolean bForce, boolean bCalledByShareHub, boolean bUpdateDetail)
bCalledByShareHub
- true if the active object is being called when a Hub is being shared with an existing hub. This is so that all of the shared hubs dont recv an event.public static void updateDetailHubs(Hub thisHub)
public static void keepActiveObject(Hub thisHub)
Copyright © 1999–2019 ViaOA. All rights reserved.