CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.Interaction.PreviousSearchesListNode Class Reference

Represents one node in the list of the 10 previous searches. More...

Inheritance diagram for CellexalVR.Interaction.PreviousSearchesListNode:
CellexalVR.Interaction.ClickableTextPanel CellexalVR.Interaction.ClickablePanel CellexalVR.Interaction.CellexalRaycastable

Public Member Functions

override void SetText (string name, Definitions.Measurement type)
 Sets the text of this list node. Make sure you set the ColoringMethod property first. More...
 
bool Contains (string name, Definitions.Measurement type, GraphManager.GeneExpressionColoringMethods coloringMethod)
 Checks if the list already contains an entry. More...
 
string UpdateList (string newGeneName, Definitions.Measurement type, GraphManager.GeneExpressionColoringMethods coloringMethod)
 Updates the list with a new gene name, removing the bottom gene name in the list if it is full. More...
 
- Public Member Functions inherited from CellexalVR.Interaction.ClickableTextPanel
override void Click ()
 Click this panel. This will color the graphs according to what is on the panel. More...
 
- Public Member Functions inherited from CellexalVR.Interaction.ClickablePanel
virtual void SetMaterials (Material keyNormalMaterial, Material keyHighlightMaterial, Material keyPressedMaterial, Vector4 scaleCorrection)
 Sets this panel's materials. More...
 
override void OnRaycastEnter ()
 Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast. More...
 
override void OnRaycastExit ()
 Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore. More...
 
override void OnRaycastHit (RaycastHit hitInfo, CellexalRaycast raycaster)
 Called by CellexalRaycast.Update every frame that a raycast hit this target. More...
 
virtual void SetHighlighted (bool highlight)
 Sets this panel to highlighted or not highlighted. More...
 
virtual void SetPressed (bool pressed)
 Sets this panel to pressed or not pressed. More...
 

Public Attributes

PreviousSearchesListNode nextNode
 
- Public Attributes inherited from CellexalVR.Interaction.ClickableTextPanel
TextMeshPro textMesh
 
- Public Attributes inherited from CellexalVR.Interaction.ClickablePanel
ReferenceManager referenceManager
 
KeyboardHandler handler
 
- Public Attributes inherited from CellexalVR.Interaction.CellexalRaycastable
UnityEvent OnActivate
 
UnityEvent RaycastEnter
 
UnityEvent RaycastExit
 
bool canBePushedAndPulled = true
 
bool active = true
 

Properties

bool Locked [get, set]
 
- Properties inherited from CellexalVR.Interaction.ClickableTextPanel
string Text [get, protected set]
 The entire string of text that is displayed on the panel. More...
 
Definitions.Measurement Type [get, protected set]
 The type of the thing whose name is displayed. More...
 
string NameOfThing = "" [get, protected set]
 The name of the thing that is displayed. More...
 
GraphManager.GeneExpressionColoringMethods ColoringMethod [get, set]
 The method of coloring that is used to color this thing. More...
 
- Properties inherited from CellexalVR.Interaction.ClickablePanel
Vector2 CenterUV [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from CellexalVR.Interaction.ClickableTextPanel
override void Start ()
 
- Protected Member Functions inherited from CellexalVR.Interaction.ClickablePanel
virtual void OnEnable ()
 
virtual void OnDisable ()
 
- Protected Attributes inherited from CellexalVR.Interaction.ClickablePanel
new Renderer renderer
 
Material keyNormalMaterial
 
Material keyHighlightMaterial
 
Material keyPressedMaterial
 
- Static Protected Attributes inherited from CellexalVR.Interaction.ClickablePanel
static Vector4 PulseAndLaserCoords
 

Detailed Description

Represents one node in the list of the 10 previous searches.

Member Function Documentation

◆ Contains()

bool CellexalVR.Interaction.PreviousSearchesListNode.Contains ( string  name,
Definitions.Measurement  type,
GraphManager.GeneExpressionColoringMethods  coloringMethod 
)

Checks if the list already contains an entry.

Parameters
nameTHe name of the thing in the entry.
typeThe type of the entry.
coloringMethodThe coloring method that was used.
Returns
True if an entry of this kind was already in the list, false otherwise.

◆ SetText()

override void CellexalVR.Interaction.PreviousSearchesListNode.SetText ( string  name,
Definitions.Measurement  type 
)
virtual

Sets the text of this list node. Make sure you set the ColoringMethod property first.

Parameters
nameThe name of the thing we are coloring by.
typeThe type of the thing we are coloring by.

Reimplemented from CellexalVR.Interaction.ClickableTextPanel.

◆ UpdateList()

string CellexalVR.Interaction.PreviousSearchesListNode.UpdateList ( string  newGeneName,
Definitions.Measurement  type,
GraphManager.GeneExpressionColoringMethods  coloringMethod 
)

Updates the list with a new gene name, removing the bottom gene name in the list if it is full.

Parameters
newGeneNameThe gene name to add to the list.
Returns
The gene name that was removed.

The documentation for this class was generated from the following file: