trait HubNetInterface extends ViewInterface with ModelSaveable
- Source
- HubNetInterface.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HubNetInterface
- ModelSaveable
- ViewInterface
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def addNarrowcastPlot(plotName: String): Boolean
-
abstract
def
applyNewFontSize(fontSize: Int, zoom: Int): Unit
- Definition Classes
- ViewInterface
-
abstract
def
broadcast(data: Any): Unit
- Annotations
- @throws( classOf[LogoException] )
-
abstract
def
broadcast(variableName: String, data: Any): Unit
Send a message to all clients
Send a message to all clients
- Annotations
- @throws( classOf[LogoException] )
- abstract def broadcastClearText(): Unit
-
abstract
def
broadcastUserMessage(text: String): Unit
- Annotations
- @throws( classOf[LogoException] )
- abstract def calculatorInterface(activity: String, tags: Seq[String]): ClientInterface
- abstract def clearOverride(client: String, agentType: AgentKind, varName: String, overrides: Seq[Long]): Unit
- abstract def clearOverrideLists(client: String): Unit
- abstract def clearPlot(clientId: String): Unit
- abstract def clearText(nodes: Seq[String]): Unit
- abstract def clientEditor: AnyRef
- abstract def clients: Iterable[String]
- abstract def closeClientEditor(): Unit
- abstract def currentlyActiveInterface: ClientInterface
- abstract def disconnect(): Unit
-
abstract
def
enterMessage: Boolean
- Annotations
- @throws( classOf[LogoException] )
-
abstract
def
exitMessage: Boolean
- Annotations
- @throws( classOf[LogoException] )
-
abstract
def
fetchMessage(): Unit
- Annotations
- @throws( classOf[LogoException] )
- abstract def fileInterface(path: String): Option[ClientInterface]
-
abstract
def
framesSkipped(): Unit
- Definition Classes
- ViewInterface
- abstract def getInQueueSize: Int
- abstract def getInterfaceHeight: Int
- abstract def getInterfaceWidth: Int
-
abstract
def
getMessage: AnyRef
- Annotations
- @throws( classOf[LogoException] )
-
abstract
def
getMessageSource: String
- Annotations
- @throws( classOf[LogoException] )
-
abstract
def
getMessageTag: String
- Annotations
- @throws( classOf[LogoException] )
- abstract def getOutQueueSize: Double
-
abstract
def
importClientInterface(model: Model, client: Boolean): Unit
- Annotations
- @throws( classOf[java.io.IOException] )
-
abstract
def
incrementalUpdateFromEventThread(): Unit
- Definition Classes
- HubNetInterface → ViewInterface
- abstract def interfaceWidgets: Seq[Widget]
-
abstract
def
isDead: Boolean
- Definition Classes
- ViewInterface
- abstract def isOverridable(agentType: AgentKind, varName: String): Boolean
- abstract def kick(clientName: String): Unit
- abstract def kickAll(): Unit
- abstract def load(m: Model): Unit
-
abstract
def
messageWaiting: Boolean
- Annotations
- @throws( classOf[LogoException] )
-
abstract
def
mouseDown: Boolean
- Definition Classes
- ViewInterface
-
abstract
def
mouseInside: Boolean
- Definition Classes
- ViewInterface
-
abstract
def
mouseXCor: Double
- Definition Classes
- ViewInterface
-
abstract
def
mouseYCor: Double
- Definition Classes
- ViewInterface
- abstract def newClient(isRobo: Boolean, waitTime: Int): Unit
- abstract def numberOfMessagesWaiting: Int
- abstract def openClientEditor(): Unit
-
abstract
def
paintImmediately(force: Boolean): Unit
- Definition Classes
- ViewInterface
- abstract def plot(clientId: String, x: Double, y: Double): Unit
- abstract def plot(clientId: String, y: Double): Unit
- abstract def plotPenDown(clientId: String, penDown: Boolean): Unit
-
abstract
def
repaint(): Unit
- Definition Classes
- ViewInterface
- abstract def reset(): Unit
-
abstract
def
resetMouseCors(): Unit
- Definition Classes
- ViewInterface
-
abstract
def
send(node: String, tag: String, message: Serializable): Boolean
Send message to a single client for the given tag
Send message to a single client for the given tag
- Annotations
- @throws( classOf[LogoException] )
-
abstract
def
send(nodes: Seq[String], tag: String, message: Serializable): Unit
Send a message to each node (client) in the list for the given tag
Send a message to each node (client) in the list for the given tag
- Annotations
- @throws( classOf[LogoException] )
- abstract def sendAgentPerspective(client: String, perspective: Int, agentType: AgentKind, id: Long, radius: Double, serverMode: Boolean): Unit
- abstract def sendClear(): Unit
- abstract def sendFromLocalClient(clientName: String, tag: String, content: AnyRef): Option[String]
- abstract def sendLine(x0: Double, y0: Double, x1: Double, y1: Double, color: Any, size: Double, mode: String): Unit
- abstract def sendOverrideList(client: String, agentType: AgentKind, varName: String, overrides: Map[Long, AnyRef]): Unit
- abstract def sendStamp(agent: Agent, erase: Boolean): Unit
- abstract def sendText(nodes: Seq[String], text: String): Unit
- abstract def sendUserMessage(nodes: Seq[String], text: String): Unit
-
abstract
def
setClientInterface(clientType: String, clientInterface: Iterable[ClientInterface]): Unit
- Annotations
- @throws( classOf[LogoException] )
- abstract def setHistogramNumBars(clientId: String, num: Int): Unit
- abstract def setPlotMirroring(on: Boolean): Unit
- abstract def setPlotPenInterval(clientId: String, interval: Double): Unit
- abstract def setPlotPenMode(clientId: String, plotPenMode: Int): Unit
- abstract def setTitle(title: String, directory: String, modelType: ModelType): Unit
- abstract def setViewMirroring(on: Boolean): Unit
-
abstract
def
shapeChanged(shape: Shape): Unit
- Definition Classes
- ViewInterface
- abstract def showControlCenter(): Unit
-
abstract
def
updateModel(m: Model): Model
- Definition Classes
- ModelSaveable
-
abstract
def
viewIsVisible: Boolean
- Definition Classes
- ViewInterface
- abstract def waitForClients(numClientsToWaitFor: Int, timeoutMillis: Long): (Boolean, Int)
- abstract def waitForMessages(numMessagesToWaitFor: Int, timeoutMillis: Long): (Boolean, Int)
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )