本文整理汇总了Java中com.intellij.util.ui.TimedDeadzone.Length方法的典型用法代码示例。如果您正苦于以下问题:Java TimedDeadzone.Length方法的具体用法?Java TimedDeadzone.Length怎么用?Java TimedDeadzone.Length使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.util.ui.TimedDeadzone
的用法示例。
在下文中一共展示了TimedDeadzone.Length方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setTabLabelActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //导入方法依赖的package包/类
@Override
@NotNull
public JBTabsPresentation setTabLabelActionsMouseDeadzone(final TimedDeadzone.Length length) {
myTabActionsMouseDeadzone = length;
final List<TabInfo> all = getTabs();
for (TabInfo each : all) {
final TabLabel eachLabel = myInfo2Label.get(each);
eachLabel.updateTabActions();
}
return this;
}
示例2: ActionButton
import com.intellij.util.ui.TimedDeadzone; //导入方法依赖的package包/类
public ActionButton(JBTabsImpl tabs, TabInfo tabInfo, AnAction action, String place, Pass<MouseEvent> pass, TimedDeadzone.Length deadzone) {
super(null, action.getTemplatePresentation().getIcon());
myTabs = tabs;
myTabInfo = tabInfo;
myAction = action;
myPlace = place;
myButton = new InplaceButton(this, this, pass, deadzone) {
@Override
protected void doRepaintComponent(Component c) {
repaintComponent(c);
}
};
myButton.setVisible(false);
}
示例3: setTabLabelActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //导入方法依赖的package包/类
@Override
@Nonnull
public JBTabsPresentation setTabLabelActionsMouseDeadzone(final TimedDeadzone.Length length) {
myTabActionsMouseDeadzone = length;
final List<TabInfo> all = getTabs();
for (TabInfo each : all) {
final TabLabel eachLabel = myInfo2Label.get(each);
eachLabel.updateTabActions();
}
return this;
}
示例4: setMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //导入方法依赖的package包/类
public void setMouseDeadzone(final TimedDeadzone.Length deadZone) {
myBehavior.setMouseDeadzone(deadZone);
}
示例5: setTabLabelActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //导入方法依赖的package包/类
@NotNull
JBTabsPresentation setTabLabelActionsMouseDeadzone(TimedDeadzone.Length length);
示例6: getTabActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //导入方法依赖的package包/类
public TimedDeadzone.Length getTabActionsMouseDeadzone() {
return myTabActionsMouseDeadzone;
}
示例7: setMouseDeadZone
import com.intellij.util.ui.TimedDeadzone; //导入方法依赖的package包/类
public void setMouseDeadZone(TimedDeadzone.Length deadZone) {
myButton.setMouseDeadzone(deadZone);
}
示例8: setMouseDeadZone
import com.intellij.util.ui.TimedDeadzone; //导入方法依赖的package包/类
public void setMouseDeadZone(TimedDeadzone.Length deadZone) {
myButton.setMouseDeadzone(deadZone);
}
示例9: setTabLabelActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //导入方法依赖的package包/类
@Nonnull
JBTabsPresentation setTabLabelActionsMouseDeadzone(TimedDeadzone.Length length);